MonobjcMonobjc Documented Class Library
RuleEditorNumberOfChildrenForCriterionWithRowType Method (editor, criterion, rowType)
NamespacesMonobjc.AppKitINSRuleEditorDelegateRuleEditorNumberOfChildrenForCriterionWithRowType(NSRuleEditor, Id, NSRuleEditorRowType)

Returns the number of child items of a given criterion or row type. (required)

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

Available in Mac OS X v10.5 and later.

Declaration Syntax
C#Visual BasicVisual C++
NSInteger RuleEditorNumberOfChildrenForCriterionWithRowType(
	NSRuleEditor editor,
	Id criterion,
	NSRuleEditorRowType rowType
Function RuleEditorNumberOfChildrenForCriterionWithRowType ( _
	editor As NSRuleEditor, _
	criterion As Id, _
	rowType As NSRuleEditorRowType _
) As NSInteger
NSInteger RuleEditorNumberOfChildrenForCriterionWithRowType(
	NSRuleEditor^ editor, 
	Id^ criterion, 
	NSRuleEditorRowType rowType
editor (NSRuleEditor)
The rule editor that sent the message.
criterion (Id)
The criterion for which the number of children is required.
rowType (NSRuleEditorRowType)
The type of row of criterion.
Return Value
The number of child items of criterion. If criterion is nil, return the number of root criteria for the row type rowType.
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)