Sets the receiver’s current selection.
Original signature is '- (BOOL)setSelectionIndexPath:(NSIndexPath *)indexPath'
Available in Mac OS X v10.4 and later.

C# | Visual Basic | Visual C++ |
public virtual bool SetSelectionIndexPath( NSIndexPath indexPath )
Public Overridable Function SetSelectionIndexPath ( _ indexPath As NSIndexPath _ ) As Boolean
public: virtual bool SetSelectionIndexPath( NSIndexPath^ indexPath )

- indexPath (NSIndexPath)
- The proposed new selection.

Return YES if the selection has changed, otherwise NO.

- Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)