Send feedback on this topic.
Teradata.Client.Provider
TryParse(String,IFormatProvider,TdDecimal) Method



Teradata.Client.Provider Namespace > TdDecimal Structure > TryParse Method : TryParse(String,IFormatProvider,TdDecimal) Method
The string to be converted
Contains the culture specific information.
The TdDecimal representation of value.
Converts the String representation of a number to its TdDecimal equivalent using culture specific information.
Syntax
'Declaration
 
Public Overloads Shared Function TryParse( _
   ByVal input As String, _
   ByVal provider As IFormatProvider, _
   ByRef result As TdDecimal _
) As Boolean
'Usage
 
Dim input As String
Dim provider As IFormatProvider
Dim result As TdDecimal
Dim value As Boolean
 
value = TdDecimal.TryParse(input, provider, result)
public static bool TryParse( 
   string input,
   IFormatProvider provider,
   out TdDecimal result
)
public:
static bool TryParse( 
   String^ input,
   IFormatProvider^ provider,
   [Out] TdDecimal result
) 

Parameters

input
The string to be converted
provider
Contains the culture specific information.
result
The TdDecimal representation of value.

Return Value

true if value was converted successfully, false otherwise.
Remarks
Please refer to TdDecimal.Parse for more information.
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

TdDecimal Structure
TdDecimal Members
Overload List