Converts a string to a cell range.
Syntax
Parameters
- s
- String to be parsed
- result
- Cell range represented by the string. If the return value is false then result is set to null.
Remarks
Example
This example returns the result.
C# | Copy Code |
---|
bool result;
FarPoint.Web.Spread.Model.CellRange range;
result = FarPoint.Web.Spread.Model.CellRange.TryParse("B3", out range);
TextBox1.Text = result.ToString();
|
Visual Basic | Copy Code |
---|
Dim trange As FarPoint.Web.Spread.Model.CellRange
Dim result As Boolean
result = FarPoint.Web.Spread.Model.CellRange.TryParse("B1", trange)
TextBox1.Text = result
|
Requirements
Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family
See Also