Spread Windows Forms 12.0 Product Documentation
GetSelection Method (CommandResult)


GrapeCity.Spreadsheet Assembly > GrapeCity.Spreadsheet.Commands Namespace > CommandResult Structure : GetSelection Method
An int value indicates the index of selection
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)
public Reference GetSelection( 
   int 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

Reference

CommandResult Structure
CommandResult Members