MonobjcMonobjc Documented Class Library
ParentRowForRow Method (rowIndex)
NamespacesMonobjc.AppKitNSRuleEditorParentRowForRow(NSInteger)

Returns the index of the parent of a given row.

Original signature is '- (NSInteger)parentRowForRow:(NSInteger)rowIndex'

Available in Mac OS X v10.5 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual NSInteger ParentRowForRow(
	NSInteger rowIndex
)
Public Overridable Function ParentRowForRow ( _
	rowIndex As NSInteger _
) As NSInteger
public:
virtual NSInteger ParentRowForRow(
	NSInteger rowIndex
)
Parameters
rowIndex (NSInteger)
The index of a row in the receiver.
Return Value
The index of the parent of the row at rowIndex. If the row at rowIndex is a root row, returns -1.
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)