GrapeCity.Xaml.SpreadSheet.Data
TryParse Method


GrapeCity.Xaml.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 String, _
   ByRef result As CellRange _
) As Boolean
'Usage
 
Dim s As String
Dim result As CellRange
Dim value As Boolean
 
value = CellRange.TryParse(s, result)
public static bool TryParse( 
   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