'Declaration Public Overloads Shared Function TryParse( _ ByVal value As String, _ ByVal provider As IFormatProvider, _ ByRef result As TdTimeWithTimeZone _ ) As Boolean
'Usage Dim value As String Dim provider As IFormatProvider Dim result As TdTimeWithTimeZone Dim value As Boolean value = TdTimeWithTimeZone.TryParse(value, provider, result)
public static bool TryParse( string value, IFormatProvider provider, out TdTimeWithTimeZone result )
public: static bool TryParse( String^ value, IFormatProvider^ provider, [Out] TdTimeWithTimeZone result )
Parameters
- value
- The string that contains the time representation.
- provider
- An IFormatProvider that supplies culture specific information about the format of value.
- result
- The TdTimeWithTimeZone representation of the time 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.