Sets the receiver’s selection to the given index, and returns a Boolean value that indicates whether the selection was changed.
Original signature is '- (BOOL)setSelectionIndex:(NSUInteger)index'
Available in Mac OS X v10.3 and later.
Declaration Syntax
C# | Visual Basic | Visual C++ |
public virtual bool SetSelectionIndex( NSUInteger index )
Public Overridable Function SetSelectionIndex ( _ index As NSUInteger _ ) As Boolean
public: virtual bool SetSelectionIndex( NSUInteger index )
Parameters
- index (NSUInteger)
- The index for the selection.
Return Value
YES if the selection was changed, otherwise NO.
Version Information
- Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)