MonobjcMonobjc Documented Class Library
RuleEditorChildForCriterionWithRowType Method (editor, index, criterion, rowType)
NamespacesMonobjc.AppKitINSRuleEditorDelegateRuleEditorChildForCriterionWithRowType(NSRuleEditor, NSInteger, Id, NSRuleEditorRowType)

Returns the child of a given item at a given index. (required)

Original signature is '- (id)ruleEditor:(NSRuleEditor *)editor child:(NSInteger)index forCriterion:(id)criterion withRowType:(NSRuleEditorRowType)rowType'

Available in Mac OS X v10.5 and later.

Declaration Syntax
C#Visual BasicVisual C++
Id RuleEditorChildForCriterionWithRowType(
	NSRuleEditor editor,
	NSInteger index,
	Id criterion,
	NSRuleEditorRowType rowType
Function RuleEditorChildForCriterionWithRowType ( _
	editor As NSRuleEditor, _
	index As NSInteger, _
	criterion As Id, _
	rowType As NSRuleEditorRowType _
) As Id
Id^ RuleEditorChildForCriterionWithRowType(
	NSRuleEditor^ editor, 
	NSInteger index, 
	Id^ criterion, 
	NSRuleEditorRowType rowType
editor (NSRuleEditor)
The rule editor that sent the message.
index (NSInteger)
The index of the requested child criterion. This value must be in the range from 0 up to (but not including) the number of children, as reported by the delegate in ruleEditor:numberOfChildrenForCriterion:withRowType:.
criterion (Id)
The parent of the requested child, or nil if the rule editor is requesting a root criterion.
rowType (NSRuleEditorRowType)
The type of the row.
Return Value
An object representing the requested child (or root) criterion. This object is used by the delegate to represent that position in the tree, and is passed as a parameter in subsequent calls to the delegate.
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)