Spread Windows Forms 6.0 Product Documentation
TryParse Method
See Also  Support Options
FarPoint.CalcEngine Assembly > FarPoint.CalcEngine Namespace > CalcError Class : TryParse Method


s
String to be parsed
error
Error represented by the string

Glossary Item Box

Converts a string to an error.

Syntax

Visual Basic (Declaration) 
Public Shared Function TryParse( _
   ByVal s As String, _
   ByRef error As CalcError _
) As Boolean
Visual Basic (Usage)Copy Code
Dim s As String
Dim error As CalcError
Dim value As Boolean
 
value = CalcError.TryParse(s, error)
C# 
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

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

© 2002-2012 ComponentOne, a division of GrapeCity. All Rights Reserved.