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

Syntax

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

Remarks

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

Requirements

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

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

[read-only]
override
ClassHandleIntPtr. The handle for this class.

Public Methods

Add(NSIndexSet)
Adds an existing set of indexes to this set.
Add(UInt32)
Adds a single index to the existing set.
Clear()
Removes all indexes from this set.
Remove(NSIndexSet)
Removes the indexes specified in other that exist in this set.
Remove(UInt32)
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.