MonoTouch.Foundation.NSDictionary Members

The members of MonoTouch.Foundation.NSDictionary are listed below.

See Also: Inherited members from MonoTouch.Foundation.NSObject

Public Constructors

Default constructor that initializes a new instance of this class with no parameters.
A constructor that initializes the object from the data stored in the unarchiver object.
Creates a new NSDictionary from an existing NSDictionary.
Constructor to call on derived classes to skip initialization and merely allocate the object.
Creates a new dictionary from the contents of a PropertyList located at a specified URL.
A constructor used when creating managed representations of unmanaged objects; Called by the runtime.
Creates a new dictionary from the contents of a PropertyList located in the specified file.
Creates an NSDictionary from a list of NSObject keys and NSObject values.
Creates an NSDictionary from a list of keys and values.

Public Properties

[read-only]
override
ClassHandleIntPtr. The handle for this class.
[read-only]
Countuint. Returns the number of keys in the dictionary.
[read-only]
DescriptionInStringsFileFormatstring. The contents of the dictionary, formatted in .strings file format.
default property
Item(NSObject)NSObject. Returns the value associated from a key in the dictionary, or null if the key is not found.
default property
Item(NSString)NSObject. Returns the value associated from a key in the dictionary, or null if the key is not found.
default property
Item(string)NSObject. Returns the value associated from a key in the dictionary, or null if the key is not found.
[read-only]
KeysNSObject[]. The set of keys for the NSDictionary.
[read-only]
ObjectEnumeratorNSEnumerator. An NSEnumerator of the values in the NSDictionary.
[read-only]
ValuesNSObject[]. The array of values in the NSDictionary.

Public Methods

ContainsKey(NSObject) : bool
Determines whether the specified key exists in the dictionary.
Copy(NSZone) : NSObject
Performs a copy of the underlying Objective-C object.
static
FromDictionary(NSDictionary) : NSDictionary
Factory method to create a new NSDictionary that is a copy of the specified source NSDictionary.
static
FromFile(string) : NSDictionary
Creates a new dictionary from the contents of a PropertyList located in the specified file.
static
FromObjectAndKey(NSObject, NSObject) : NSDictionary
Factory method to create a new NSDictionary initialized with the specified obj (value) and key.
static
FromObjectsAndKeys(NSObject[], NSObject[]) : NSDictionary
Creates a dictionary from a set of values and keys.
static
FromObjectsAndKeys(object[], object[]) : NSDictionary
Creates a dictionary from a set of values and keys.
static
FromObjectsAndKeys(NSObject[], NSObject[], int) : NSDictionary
Creates a dictionary from a set of values and keys.
static
FromObjectsAndKeys(object[], object[], int) : NSDictionary
Creates a dictionary from a set of values and keys.
static
FromUrl(NSUrl) : NSDictionary
Creates a new dictionary from the contents of a PropertyList located at a specified URL.
GetEnumerator() : IEnumerator<KeyValuePair<NSObject, NSObject>>
Documentation for this section has not yet been entered.
static
GetSharedKeySetForKeys(NSObject[]) : NSObject
Creates a shared key set for the specified keys.
IsEqualToDictionary(NSDictionary) : bool
True if the dictionaries have the same number of entries and, for all keys, the values return true for Equals.
KeysForObject(NSObject) : NSObject[]
An array, possibly empty, of the keys whose value is equal to the specified obj.
LowlevelObjectForKey(IntPtr) : IntPtr
Low-level key lookup.
MutableCopy(NSZone) : NSObject
Performs a copy of the underlying Objective-C object.
ObjectForKey(NSObject) : NSObject
The object mapped to the specified key, or null.
ObjectsForKeys(NSArray, NSObject) : NSObject[]
An array of objects for the specified keys. If the key is not found, the marker object is placed in the returned array at the appropriate index.
ToFileAttributes() : NSFileAttributes
Documentation for this section has not yet been entered.
TryGetValue(NSObject, out NSObject) : bool
Documentation for this section has not yet been entered.
WriteToFile(string, bool) : bool
Attempts to write the NSDictionary to the specified path. If useAuxiliaryFile is true, the file is written atomically. Returns success or failure.
WriteToUrl(NSUrl, bool) : bool
Attemps to write the NSDictionary to the specified url, and whether to do so atomically. Returns success or failure.

Protected Methods

override
Dispose(bool)
Releases the resources used by the NSDictionary object.

Explicitly Implemented Interface Members

ICollection<KeyValuePair<MonoTouch.Foundation.NSObject, MonoTouch.Foundation.NSObject>>.AddDocumentation for this section has not yet been entered.
IDictionary<MonoTouch.Foundation.NSObject, MonoTouch.Foundation.NSObject>.AddDocumentation for this section has not yet been entered.
IDictionary.AddDocumentation for this section has not yet been entered.
ICollection<KeyValuePair<MonoTouch.Foundation.NSObject, MonoTouch.Foundation.NSObject>>.ClearDocumentation for this section has not yet been entered.
IDictionary.ClearDocumentation for this section has not yet been entered.
ICollection<KeyValuePair<MonoTouch.Foundation.NSObject, MonoTouch.Foundation.NSObject>>.ContainsDocumentation for this section has not yet been entered.
IDictionary.ContainsDocumentation for this section has not yet been entered.
ICollection.CopyToDocumentation for this section has not yet been entered.
ICollection<KeyValuePair<MonoTouch.Foundation.NSObject, MonoTouch.Foundation.NSObject>>.CopyToCreates a copy of this object, allocating memory from the specified zone or from the default zone if the argument is null.
[read-only]
ICollection<KeyValuePair<MonoTouch.Foundation.NSObject, MonoTouch.Foundation.NSObject>>.Countint. Documentation for this section has not yet been entered.
[read-only]
ICollection.Countint. Documentation for this section has not yet been entered.
IDictionary.GetEnumeratorDocumentation for this section has not yet been entered.
IEnumerable.GetEnumeratorDocumentation for this section has not yet been entered.
[read-only]
IDictionary.IsFixedSizebool. Documentation for this section has not yet been entered.
[read-only]
ICollection<KeyValuePair<MonoTouch.Foundation.NSObject, MonoTouch.Foundation.NSObject>>.IsReadOnlybool. Documentation for this section has not yet been entered.
[read-only]
IDictionary.IsReadOnlybool. Documentation for this section has not yet been entered.
[read-only]
ICollection.IsSynchronizedbool. Documentation for this section has not yet been entered.
IDictionary.Itemobject. Documentation for this section has not yet been entered.
[read-only]
IDictionary<MonoTouch.Foundation.NSObject, MonoTouch.Foundation.NSObject>.KeysICollection<NSObject>. Documentation for this section has not yet been entered.
[read-only]
IDictionary.KeysICollection. Documentation for this section has not yet been entered.
IDictionary<MonoTouch.Foundation.NSObject, MonoTouch.Foundation.NSObject>.RemoveDocumentation for this section has not yet been entered.
ICollection<KeyValuePair<MonoTouch.Foundation.NSObject, MonoTouch.Foundation.NSObject>>.RemoveDocumentation for this section has not yet been entered.
IDictionary.RemoveDocumentation for this section has not yet been entered.
[read-only]
ICollection.SyncRootobject. Documentation for this section has not yet been entered.
[read-only]
IDictionary<MonoTouch.Foundation.NSObject, MonoTouch.Foundation.NSObject>.ValuesICollection<NSObject>. Documentation for this section has not yet been entered.
[read-only]
IDictionary.ValuesICollection. Documentation for this section has not yet been entered.