Spread Silverlight Documentation
TryParse Method


GrapeCity.Windows.SpreadSheet.Data Namespace > CellRange Class : TryParse Method
The string to be parsed.
The cell range represented by the string.
Converts a string to a cell range.
Syntax
'Declaration
 
Public Shared Function TryParse( _
   ByVal s As System.String, _
   ByRef result As CellRange _
) As System.Boolean
'Usage
 
Dim s As System.String
Dim result As CellRange
Dim value As System.Boolean
 
value = CellRange.TryParse(s, result)
public static System.bool TryParse( 
   System.string s,
   out CellRange result
)

Parameters

s
The string to be parsed.
result
The cell range represented by the string.

Return Value

true if the string was parsed successfully; otherwise, false.
Remarks
If the return value is false, then the result is set to null.
See Also

Reference

CellRange Class
CellRange Members