FarPoint.Win.Spread Assembly > FarPoint.Win.Spread.Model Namespace > CellRange Class : TryParse Method |
'Declaration Public Shared Function TryParse( _ ByVal s As String, _ ByRef result As CellRange _ ) As Boolean
true if the string is converted successfully; false otherwise
The result parameter returns the result of parsing the string.
bool result; FarPoint.Win.Spread.Model.CellRange range; result = FarPoint.Win.Spread.Model.CellRange.TryParse("B3", out range); textBox1.Text = result.ToString();
Dim trange As FarPoint.Win.Spread.Model.CellRange Dim result As Boolean result = FarPoint.Win.Spread.Model.CellRange.TryParse("B1", trange) TextBox1.Text = result
Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8