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



Teradata.Client.Provider Namespace > TdIntervalMinute Structure > ToString Method : ToString(String) Method
The format string that will be used to format the TdIntervalMinute.
Converts this instance to its equivalent String representation using the specified format.
Syntax
'Declaration
 
Public Overloads Function ToString( _
   ByVal format As String _
) As String
'Usage
 
Dim instance As TdIntervalMinute
Dim format As String
Dim value As String
 
value = instance.ToString(format)
public string ToString( 
   string format
)
public:
String^ ToString( 
   String^ format
) 

Parameters

format
The format string that will be used to format the TdIntervalMinute.

Return Value

A string representation of the TdIntervalMinute will be returned.
Exceptions
ExceptionDescription
format contains an invalid format specifier.
Remarks

This method supports the following format specifiers:

Format Specifier Description
G

General interval format.

[sign][[minutes]

L

SQL literal format. This string may be used in a SQL statement.

INTERVAL [sign]'[minutes]' MINUTE

Below is the description of each format item.

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

The format is not used, as 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

TdIntervalMinute Structure
TdIntervalMinute Members
Overload List