VintaSoft Imaging .NET SDK 15.1: Documentation for .NET developer
Vintasoft.Imaging.Office.Spreadsheet.Document Namespace / CellReference Class / TryParse(String,Boolean,CellReference) Method
Syntax Requirements SeeAlso
In This Topic
TryParse(String,Boolean,CellReference) Method (CellReference)
In This Topic
Tries to parse cell reference from specified string in A1 or R1C1 format.
Syntax
'Declaration

Public Shared Function TryParse( _
ByVal str
The string to parse.
As System.String, _
ByVal allowSingleRowOrColumn
A value indicating whether reference can contain only digits as row number or only letters as column number.
As Boolean, _
ByRef result
The parsed cell reference.
As CellReference _
) As Boolean
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.
Requirements

Target Platforms: .NET 10; .NET 9; .NET 8; .NET 7; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5

See Also