Spread WinForms 15
GrapeCity.Spreadsheet Assembly / GrapeCity.Spreadsheet.Commands Namespace / CommandResult Structure / GetSelection Method
An int value indicates the index of selection


In This Topic
GetSelection Method (CommandResult)
In This Topic
Gets modified selection at specified index
Syntax
'Declaration
 
Public Function GetSelection( _
   ByVal index As Integer _
) As Reference
 
'Usage
 
Dim instance As CommandResult
Dim index As Integer
Dim value As Reference
 
value = instance.GetSelection(index)

Parameters

index
An int value indicates the index of selection

Return Value

GrapeCity.Spreadsheet.Reference.Empty if index is invalid, otherwise, an GrapeCity.Spreadsheet.Reference object that represents the selection
See Also