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



Teradata.Client.Provider Namespace > TdIntervalYear 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 TdIntervalYear
Dim value As String
 
value = instance.ToString()
public override string ToString()
public:
String^ ToString(); override 

Return Value

A string representation of the TdIntervalYear will be returned.
Remarks

The string returned will follow this format:

[sign][years]

Format Element Description
sign If negative a minus sign will be displayed.
years The number of years (one to four digits in length).

Cultural settings are not supported.

Requirements
ProductVersionsPlatforms
.NET2.1, 3.1, 6Windows, Linux, MacOS
.NET Framework4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8Windows
.NET Standard2.0Windows, Linux, MacOS
See Also

Reference

TdIntervalYear Structure
TdIntervalYear Members
Overload List