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



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

Parameters

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

Return Value

true if value was converted successfully, false otherwise.
Remarks
Please refer to TdNumber.Parse for more information.
Requirements

Target Platforms: Windows 8.1, Windows 10, Windows Server 2012 R2, Windows Server 2016, Windows Server 2019

See Also

Reference

TdNumber Structure
TdNumber Members
Overload List