編輯

共用方式為


NSArrayController.Insert Method

Definition

Overloads

Insert(NSObject)
Insert(NSObject, nint)
Insert(NSObject[], NSIndexSet)

Insert(NSObject)

[Foundation.Export("insert:")]
public virtual void Insert (Foundation.NSObject sender);
abstract member Insert : Foundation.NSObject -> unit
override this.Insert : Foundation.NSObject -> unit

Parameters

sender
NSObject
Attributes

Applies to

Insert(NSObject, nint)

[Foundation.Export("insertObject:atArrangedObjectIndex:")]
public virtual void Insert (Foundation.NSObject aObject, nint index);
abstract member Insert : Foundation.NSObject * nint -> unit
override this.Insert : Foundation.NSObject * nint -> unit

Parameters

aObject
NSObject
index
System.System.IntPtr System.nativeint
Attributes

Applies to

Insert(NSObject[], NSIndexSet)

[Foundation.Export("insertObjects:atArrangedObjectIndexes:")]
public virtual void Insert (Foundation.NSObject[] objects, Foundation.NSIndexSet indexes);
abstract member Insert : Foundation.NSObject[] * Foundation.NSIndexSet -> unit
override this.Insert : Foundation.NSObject[] * Foundation.NSIndexSet -> unit

Parameters

objects
NSObject[]
indexes
NSIndexSet
Attributes

Applies to