MonobjcMonobjc Documented Class Library
SetSelectionIndexPath Method (indexPath)
NamespacesMonobjc.AppKitNSTreeControllerSetSelectionIndexPath(NSIndexPath)

Sets the receiver’s current selection.

Original signature is '- (BOOL)setSelectionIndexPath:(NSIndexPath *)indexPath'

Available in Mac OS X v10.4 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual bool SetSelectionIndexPath(
	NSIndexPath indexPath
)
Public Overridable Function SetSelectionIndexPath ( _
	indexPath As NSIndexPath _
) As Boolean
public:
virtual bool SetSelectionIndexPath(
	NSIndexPath^ indexPath
)
Parameters
indexPath (NSIndexPath)
The proposed new selection.
Return Value
Return YES if the selection has 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)

Assembly: Monobjc.AppKit (Module: Monobjc.AppKit)