Spread WinForms 15
FarPoint.CalcEngine Assembly / FarPoint.CalcEngine Namespace / CalcError Class / TryParse Method
String to be parsed
Error represented by the string


In This Topic
TryParse Method (CalcError)
In This Topic
Converts a string to an error.
Syntax
'Declaration
 
Public Shared Function TryParse( _
   ByVal s As String, _
   ByRef error As CalcError _
) As Boolean
 
'Usage
 
Dim s As String
Dim error As CalcError
Dim value As Boolean
 
value = CalcError.TryParse(s, error)

Parameters

s
String to be parsed
error
Error represented by the string

Return Value

True if the string is converted successfully; false otherwise
See Also