'Declaration Public Overloads Shared Function TryParse( _ ByVal value As String, _ ByVal provider As IFormatProvider, _ ByRef result As TdTimestampWithTimeZone _ ) As Boolean
'Usage Dim value As String Dim provider As IFormatProvider Dim result As TdTimestampWithTimeZone Dim value As Boolean value = TdTimestampWithTimeZone.TryParse(value, provider, result)
public static bool TryParse( string value, IFormatProvider provider, out TdTimestampWithTimeZone result )
public: static bool TryParse( String^ value, IFormatProvider^ provider, [Out] TdTimestampWithTimeZone result )
Parameters
- value
- The string that contains the date representation.
- provider
- An IFormatProvider that supplies culture specific information about the format of value.
- result
- The TdTimestampWithTimeZone representation of the timestamp contained in the specified string.
Return Value
A Boolean is returned that indicates the success of the conversion.
true
indicates that the conversion was successful and that the conversion is returned through the result parameter. false
indicates that the conversion failed.