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
ProductVersionsPlatforms
.NET6, 7Windows, Linux, MacOS
.NET Framework4.6.2, 4.7, 4.7.1, 4.7.2, 4.8Windows
.NET Standard2.0Windows, Linux, MacOS
See Also

Reference

TdIntervalYearToMonth Structure
TdIntervalYearToMonth Members
Overload List