XlsWorkbook
GetBookIndex Method
|
Retrieves the index of the book at the specified reference index.
Namespace:
Spire.Xls.Core.Spreadsheet
Assembly:
Spire.XLS (in Spire.XLS.dll) Version: 15.4.0.0 (15.4.0.5046)
Syntax
public int GetBookIndex(
int referenceIndex
)
Public Function GetBookIndex (
referenceIndex As Integer
) As Integer
public:
int GetBookIndex(
int referenceIndex
)
member GetBookIndex :
referenceIndex : int -> int
Parameters
-
referenceIndex
-
Type:
System
Int32
The index of the reference.
Return Value
Type:
Int32
The index of the book.
Exceptions
Exception
|
Condition
|
ArgumentOutOfRangeException
|
Thrown when the referenceIndex is less than 0 or greater than the count of ExternSheets.
|
See Also