NSIndexSet.FromArray 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 |
|---|---|
| FromArray(Int32[]) |
Create a new NSIndexSet instance from an array of indices. |
| FromArray(UInt32[]) |
Create a new NSIndexSet instance from an array of indices. |
| FromArray(UIntPtr[]) |
Create a new NSIndexSet instance from an array of indices. |
FromArray(Int32[])
Create a new NSIndexSet instance from an array of indices.
public static Foundation.NSIndexSet FromArray(int[] items);
static member FromArray : int[] -> Foundation.NSIndexSet
Parameters
- items
- Int32[]
The indices to add to the new NSIndexSet.
Returns
A new NSIndexSet with the specified indices.
Applies to
FromArray(UInt32[])
Create a new NSIndexSet instance from an array of indices.
public static Foundation.NSIndexSet FromArray(uint[] items);
static member FromArray : uint32[] -> Foundation.NSIndexSet
Parameters
- items
- UInt32[]
The indices to add to the new NSIndexSet.
Returns
A new NSIndexSet with the specified indices.
Applies to
FromArray(UIntPtr[])
Create a new NSIndexSet instance from an array of indices.
public static Foundation.NSIndexSet FromArray(UIntPtr[] items);
static member FromArray : unativeint[] -> Foundation.NSIndexSet
Parameters
- items
-
UIntPtr[]
unativeint[]
The indices to add to the new NSIndexSet.
Returns
A new NSIndexSet with the specified indices.