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



Teradata.Client.Provider Namespace > TdNumber Structure > TryParse Method : TryParse(String,TdNumber) Method
The string to be converted.
The TdNumber representation of the string
Converts the String representation of a number to its TdNumber equivalent. A boolean is returned that indicates whether the conversion succeeded.
Syntax
'Declaration
 
Public Overloads Shared Function TryParse( _
   ByVal input As String, _
   ByRef result As TdNumber _
) As Boolean
'Usage
 
Dim input As String
Dim result As TdNumber
Dim value As Boolean
 
value = TdNumber.TryParse(input, result)
public static bool TryParse( 
   string input,
   out TdNumber result
)
public:
static bool TryParse( 
   String^ input,
   [Out] TdNumber result
) 

Parameters

input
The string to be converted.
result
The TdNumber representation of the string

Return Value

true if value was converted successfully, false otherwise.
Remarks
Please refer to TdNumber.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

TdNumber Structure
TdNumber Members
Overload List