'Declaration Public Shared Function TryParse( _
ByVal strThe string to parse.As System.String, _
ByVal allowSingleRowOrColumnA value indicating whether reference can contain only digits as row number or only letters as column number.As Boolean, _
ByRef resultThe parsed cell reference.As CellReference _
) As Boolean
public static bool TryParse(
System.String str,
bool allowSingleRowOrColumn,
out CellReference result
)
public: static bool TryParse(
System.String str,
bool allowSingleRowOrColumn,
[PARAMFLAG::Out] CellReference* result
)
public:
static bool TryParse(
System.String str,
bool allowSingleRowOrColumn,
[Out] CellReference^ result
)
Parameters
- str
- The string to parse.
- allowSingleRowOrColumn
- A value indicating whether reference can contain only digits as row number or only letters as column number.
- result
- The parsed cell reference.
Return Value
True if cell reference is parsed successfully; otherwise, false.