Mac Guides | Samples

MonoMac.Foundation.NSMutableIndexSet Class

Represents a mutable collection of unique, unsigned integers (UInt32). These integers are also known as indexes.

See Also: NSMutableIndexSet


[MonoMac.Foundation.Register("NSMutableIndexSet", true)]
public class NSMutableIndexSet : NSIndexSet


NSMutableIndexSet sorts the integers as they are added, therefore the order in which integers are added is irrelevant.


Namespace: MonoMac.Foundation
Assembly: XamMac (in XamMac.dll)
Assembly Versions:

The members of MonoMac.Foundation.NSMutableIndexSet are listed below.

See Also: NSIndexSet

Public Constructors

Default constructor, initializes a new instance of this class.
A constructor that initializes the object from the data stored in the unarchiver object.
Creates a new MSMutableIndexSet from an existing set.
Constructor to call on derived classes when the derived class has an [Export] constructor.
A constructor used when creating managed representations of unmanaged objects; Called by the runtime.
Initializes a new index set from an existing unsigned integer.

Public Properties

ClassHandleIntPtr. The handle for this class.

Public Methods

Adds an existing set of indexes to this set.
Adds a single index to the existing set.
Removes all indexes from this set.
Removes the indexes specified in other that exist in this set.
Removes a single index from the collection.
ShiftIndexes(UInt32, UInt32)
Shifts a subset of indexes either left or right starting at the startIndex by the amount specified in delta.