Adds a new row of a given type at a given location.
Original signature is '- (void)insertRowAtIndex:(NSInteger)rowIndex withType:(NSRuleEditorRowType)rowType asSubrowOfRow:(NSInteger)parentRow animate:(BOOL)shouldAnimate'
Available in Mac OS X v10.5 and later.
Declaration Syntax
C# | Visual Basic | Visual C++ |
public virtual void InsertRowAtIndexWithTypeAsSubrowOfRowAnimate( NSInteger rowIndex, NSRuleEditorRowType rowType, NSInteger parentRow, bool shouldAnimate )
Public Overridable Sub InsertRowAtIndexWithTypeAsSubrowOfRowAnimate ( _ rowIndex As NSInteger, _ rowType As NSRuleEditorRowType, _ parentRow As NSInteger, _ shouldAnimate As Boolean _ )
public: virtual void InsertRowAtIndexWithTypeAsSubrowOfRowAnimate( NSInteger rowIndex, NSRuleEditorRowType rowType, NSInteger parentRow, bool shouldAnimate )
Parameters
- rowIndex (NSInteger)
- The index at which the new row should be inserted. rowIndex must be greater than parentRow, and much specify a row that does not fall amongst the children of some other parent.
- rowType (NSRuleEditorRowType)
- The type of the new row.
- parentRow (NSInteger)
- The index of the row of which the new row is a child. Pass -1 to indicate that the new row should be a root row.
- shouldAnimate (Boolean)
- YES if creation of the new row should be animated, 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)