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 Basic | Visual C++ |
public event NSRuleEditor..::..RuleEditorNumberOfChildrenForCriterionWithRowTypeEventHandler RuleEditorNumberOfChildrenForCriterionWithRowType
Public Event RuleEditorNumberOfChildrenForCriterionWithRowType As NSRuleEditor..::..RuleEditorNumberOfChildrenForCriterionWithRowTypeEventHandler
public: event NSRuleEditor..::..RuleEditorNumberOfChildrenForCriterionWithRowTypeEventHandler^ RuleEditorNumberOfChildrenForCriterionWithRowType { void add (NSRuleEditor..::..RuleEditorNumberOfChildrenForCriterionWithRowTypeEventHandler^ value); void remove (NSRuleEditor..::..RuleEditorNumberOfChildrenForCriterionWithRowTypeEventHandler^ value); }
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)