Spread for ASP.NET 12 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 the string is converted successfully; false otherwise
See Also

Reference

CalcError Class
CalcError Members