NSArrayController.Insert 方法

定义

重载

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

参数

sender
NSObject
属性

适用于

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

参数

aObject
NSObject
index
System.System.IntPtr System.nativeint
属性

适用于

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

参数

objects
NSObject[]
indexes
NSIndexSet
属性

适用于