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.
Return Value
true if the string is converted successfully; false otherwise
The result parameter returns the result of parsing the string.
Remarks
Example
This example returns the result.
C# | Copy Code |
---|
bool result;
FarPoint.Win.Spread.Model.CellRange range;
result = FarPoint.Win.Spread.Model.CellRange.TryParse("B3", out range);
textBox1.Text = result.ToString();
|
Visual Basic | Copy Code |
---|
Dim trange As FarPoint.Win.Spread.Model.CellRange
Dim result As Boolean
result = FarPoint.Win.Spread.Model.CellRange.TryParse("B1", trange)
TextBox1.Text = result
|
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