Spread Windows Forms 11.0 Product Documentation
TryParse Method (CalcError)


FarPoint.CalcEngine Assembly > FarPoint.CalcEngine Namespace > CalcError Class : TryParse Method
String to be parsed
Error represented by the string
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)
public static bool TryParse( 
   string s,
   out CalcError error
)

Parameters

s
String to be parsed
error
Error represented by the string

Return Value

true if tried; false otherwise
See Also

Reference

CalcError Class
CalcError Members