NSMutableDictionary Class
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.
[Foundation.Register("NSMutableDictionary", true)]
public class NSMutableDictionary : Foundation.NSDictionary, System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<Foundation.NSObject,Foundation.NSObject>>, System.Collections.Generic.IDictionary<Foundation.NSObject,Foundation.NSObject>, System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<Foundation.NSObject,Foundation.NSObject>>, System.Collections.IDictionary
[<Foundation.Register("NSMutableDictionary", true)>]
type NSMutableDictionary = class
inherit NSDictionary
interface IDictionary
interface ICollection
interface IEnumerable
interface IDictionary<NSObject, NSObject>
interface ICollection<KeyValuePair<NSObject, NSObject>>
interface seq<KeyValuePair<NSObject, NSObject>>
- Inheritance
- Derived
- Attributes
- Implements
-
ICollection<KeyValuePair<NSObject,NSObject>> ICollection<KeyValuePair<TKey,TValue>> IDictionary<NSObject,NSObject> IEnumerable<KeyValuePair<NSObject,NSObject>> IEnumerable<KeyValuePair<TKey,TValue>> IEnumerable<T> ICollection IDictionary IEnumerable
Constructors
| Name | Description |
|---|---|
| NSMutableDictionary() |
Creates a new NSMutableDictionary with default values. |
| NSMutableDictionary(NativeHandle) |
A constructor used when creating managed representations of unmanaged objects. Called by the runtime. |
| NSMutableDictionary(NSCoder) |
A constructor that initializes the object from the data stored in the unarchiver object. |
| NSMutableDictionary(NSDictionary, Boolean) | |
| NSMutableDictionary(NSDictionary) | |
| NSMutableDictionary(NSObjectFlag) |
Constructor to call on derived classes to skip initialization and merely allocate the object. |
| NSMutableDictionary(NSUrl) | |
| NSMutableDictionary(String) | |
Properties
| Name | Description |
|---|---|
| AccessibilityAttributedUserInputLabels | (Inherited from NSObject) |
| AccessibilityRespondsToUserInteraction | (Inherited from NSObject) |
| AccessibilityTextualContext | (Inherited from NSObject) |
| AccessibilityUserInputLabels | (Inherited from NSObject) |
| Class | (Inherited from NSObject) |
| ClassHandle |
The Objective-C class handle for this class. |
| Count | (Inherited from NSDictionary) |
| DebugDescription | (Inherited from NSObject) |
| Description | (Inherited from NSObject) |
| DescriptionInStringsFileFormat | (Inherited from NSDictionary) |
| ExposedBindings | (Inherited from NSObject) |
| Handle |
Handle (pointer) to the unmanaged object representation. (Inherited from NSObject) |
| IsDirectBinding |
Gets or sets a value indicating whether this instance uses direct Objective-C binding. (Inherited from NSObject) |
| IsProxy | (Inherited from NSObject) |
| Item[NSObject] |
Gets or sets the object associated with the specified key. |
| Item[NSString] |
Gets or sets the object associated with the specified key. |
| Item[String] |
Gets or sets the object associated with the specified key. |
| KeyEnumerator | (Inherited from NSDictionary) |
| Keys | (Inherited from NSDictionary) |
| ObjectEnumerator | (Inherited from NSDictionary) |
| RetainCount | (Inherited from NSObject) |
| Self | (Inherited from NSObject) |
| Superclass | (Inherited from NSObject) |
| SuperHandle |
Handle used to represent the methods in the base class for this NSObject. (Inherited from NSObject) |
| Values | (Inherited from NSDictionary) |
| Zone | (Inherited from NSObject) |
Methods
Explicit Interface Implementations
| Name | Description |
|---|---|
| ICollection.CopyTo(Array, Int32) |
Copies the elements of the dictionary to an Array, starting at a particular index. (Inherited from NSDictionary) |
| ICollection.Count |
Gets the number of elements contained in the dictionary. (Inherited from NSDictionary) |
| ICollection.IsSynchronized |
Gets a value indicating whether access to the dictionary is synchronized (thread safe). (Inherited from NSDictionary) |
| ICollection.SyncRoot |
Gets an object that can be used to synchronize access to the dictionary. (Inherited from NSDictionary) |
| ICollection<KeyValuePair<NSObject,NSObject>>.Add(KeyValuePair<NSObject,NSObject>) | |
| ICollection<KeyValuePair<NSObject,NSObject>>.Clear() | (Inherited from NSDictionary) |
| ICollection<KeyValuePair<NSObject,NSObject>>.Contains(KeyValuePair<NSObject,NSObject>) | |
| ICollection<KeyValuePair<NSObject,NSObject>>.CopyTo(KeyValuePair<NSObject,NSObject>[], Int32) | |
| ICollection<KeyValuePair<NSObject,NSObject>>.Count | |
| ICollection<KeyValuePair<NSObject,NSObject>>.IsReadOnly | |
| ICollection<KeyValuePair<NSObject,NSObject>>.Remove(KeyValuePair<NSObject,NSObject>) | |
| IDictionary.Add(Object, Object) |
Adds an element with the provided key and value to the dictionary. |
| IDictionary.Clear() |
Removes all elements from the dictionary. (Inherited from NSDictionary) |
| IDictionary.Contains(Object) |
Determines whether the dictionary contains an element with the specified key. |
| IDictionary.GetEnumerator() |
Returns an enumerator that iterates through the dictionary. |
| IDictionary.IsFixedSize |
Gets a value indicating whether the dictionary has a fixed size. |
| IDictionary.IsReadOnly |
Gets a value indicating whether the dictionary is read-only. |
| IDictionary.Item[Object] |
Gets or sets the object associated with the specified key. |
| IDictionary.Keys |
Gets an ICollection containing the keys of the dictionary. |
| IDictionary.Remove(Object) |
Removes the element with the specified key from the dictionary. |
| IDictionary.Values |
Gets an ICollection containing the values in the dictionary. |
| IDictionary<NSObject,NSObject>.Add(NSObject, NSObject) | (Inherited from NSDictionary) |
| IDictionary<NSObject,NSObject>.Keys |
Gets an ICollection<T> containing the keys of the dictionary. |
| IDictionary<NSObject,NSObject>.Remove(NSObject) | (Inherited from NSDictionary) |
| IDictionary<NSObject,NSObject>.Values |
Gets an ICollection<T> containing the values in the dictionary. |
| IEnumerable.GetEnumerator() |
Returns an enumerator that iterates through the dictionary. |