NSArrayController.Insert Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
| Name | Description |
|---|---|
| Insert(NSObject) | |
| Insert(NSObject, IntPtr) | |
| Insert(NSObject[], NSIndexSet) |
Insert(NSObject)
[Foundation.Export("insert:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual void Insert(Foundation.NSObject sender);
[<Foundation.Export("insert:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member Insert : Foundation.NSObject -> unit
override this.Insert : Foundation.NSObject -> unit
Parameters
- sender
- NSObject
- Attributes
Applies to
Insert(NSObject, IntPtr)
[Foundation.Export("insertObject:atArrangedObjectIndex:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual void Insert(Foundation.NSObject aObject, IntPtr index);
[<Foundation.Export("insertObject:atArrangedObjectIndex:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member Insert : Foundation.NSObject * nativeint -> unit
override this.Insert : Foundation.NSObject * nativeint -> unit
Parameters
- aObject
- NSObject
- index
-
IntPtr
nativeint
- Attributes
Applies to
Insert(NSObject[], NSIndexSet)
[Foundation.Export("insertObjects:atArrangedObjectIndexes:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual void Insert(Foundation.NSObject[] objects, Foundation.NSIndexSet indexes);
[<Foundation.Export("insertObjects:atArrangedObjectIndexes:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member Insert : Foundation.NSObject[] * Foundation.NSIndexSet -> unit
override this.Insert : Foundation.NSObject[] * Foundation.NSIndexSet -> unit
Parameters
- objects
- NSObject[]
- indexes
- NSIndexSet
- Attributes