Send feedback on this topic.
Teradata.Client.Provider
ToString() Method



Teradata.Client.Provider Namespace > TdIntervalYearToMonth Structure > ToString Method : ToString() Method
Converts this instance to its equivalent String representation.
Syntax
'Declaration
 
Public Overloads Overrides Function ToString() As String
'Usage
 
Dim instance As TdIntervalYearToMonth
Dim value As String
 
value = instance.ToString()
public override string ToString()
public:
String^ ToString(); override 

Return Value

A string representation of the TdIntervalYearToMonth will be returned.
Remarks

The string returned will follow this format:

[sign][years]-[mm]

Below is the description of each format item.

Format Element Description
sign If negative a minus sign will be displayed..
years The number of years (one to four digits in length).
mm 2 digits representing the months from 00 - 11.

Cultural settings are not supported.

Requirements

Target Platforms: Windows 8.1, Windows 10, Windows Server 2012 R2, Windows Server 2016, Windows Server 2019

See Also

Reference

TdIntervalYearToMonth Structure
TdIntervalYearToMonth Members
Overload List