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



Teradata.Client.Provider Namespace > TdTimeWithTimeZone Structure > ToString Method : ToString(IFormatProvider) Method
An IFormatProvider that contains the culture specific formatting information. This parameter is ignored.
The TdTimeWithTimeZone is converted to the equivalent ANSI string representation.
Syntax
'Declaration
 
Public Overloads Function ToString( _
   ByVal provider As IFormatProvider _
) As String
'Usage
 
Dim instance As TdTimeWithTimeZone
Dim provider As IFormatProvider
Dim value As String
 
value = instance.ToString(provider)
public string ToString( 
   IFormatProvider provider
)
public:
String^ ToString( 
   IFormatProvider^ provider
) 

Parameters

provider
An IFormatProvider that contains the culture specific formatting information. This parameter is ignored.

Return Value

The ANSI string representation of TdTimeWithTimeZone is returned.
Remarks

By default this method converts this instance of TdTimeWithTimeZone using the "G" format specifier (see TdTimeWithTimeZone.ToString)-- the ANSI string representation.

The cultural information specified in the provider parameter is ignored.

The ANSI string representation of the time will be in the format: "HH:mm:ss.ffffff<+/->hh:mm". For example, "23:12:45.0023-08:00".

The number of digits that will appear in the fractional seconds is dependent on the TdTimeWithTimeZone.Scale. For example, if the Scale is set to 4, four digits will appear in the fraction.

If this instance is TdTimeWithTimeZone.Null, a string that contains "Null" will be returned.

Requirements

Target Platforms: Windows 7, Windows 8, Windows 8.1, Windows 10, Windows Server 2008, Windows Server 2008 R2, Windows Server 2012, Windows Server 2012 R2

See Also

Reference

TdTimeWithTimeZone Structure
TdTimeWithTimeZone Members
Overload List