A NSDictionary is a collection of keys and values, essentially a Dictionary. The keys are simple Strings whereas the values can be any kind of NSObject.
You can access the keys through the function NSDictionary.Keys.
Access to the objects stored for each key is given through the function NSDictionary.ObjectForKey(string).
See Also: Inherited members from NSObject.
|
|
NSDictionary
()
|
Creates a new empty NSDictionary. |
| [read-only] | Count | int . Gets the count of items in the current instance. |
| [read-only] | IsEmpty | bool . Gets a value indicating whether this instance is empty. |
| [read-only] | IsReadOnly | bool . Gets a value indicating whether this instance is read only. |
|
default property
|
Item (string) | NSObject . Gets or sets the Claunia.PropertyList.NSObject at the specified index. |
| [read-only] | Keys | ICollection<string> . Gets an array with all the keys contained in the current instance. |
| [read-only] | Values | ICollection<NSObject> . Gets an array with all the objects contained in the current instance. |
|
|
Add
(KeyValuePair<string, NSObject>)Adds the specified item. |
|
|
|
Add
(string, NSObject)Add the specified key and value. |
|
|
|
Add
(string, bool)Puts a new key-value pair into this dictionary. |
|
|
|
Add
(string, double)Puts a new key-value pair into this dictionary. |
|
|
|
Add
(string, long)Puts a new key-value pair into this dictionary. |
|
|
|
Add
(string, object)Puts a new key-value pair into this dictionary. If the value is null, no operation will be performed on the dictionary. |
|
|
|
Clear
()Clears this instance. |
|
|
|
Contains
(KeyValuePair<string, NSObject>)Checks if the current instance contains the specified item. |
|
|
|
ContainsKey
(object)Checks if the specified object key is contained in the current instance. |
|
|
|
ContainsKey
(string)Checks if there is any item contained in the current instance corresponding with the specified key. |
|
|
|
ContainsValue
(NSObject)Checks if there is any item contained in the current instance corresponding with the specified value. |
|
|
|
ContainsValue
(bool)Checks whether a given value is contained in this dictionary. |
|
|
|
ContainsValue
(byte[])Checks whether a given value is contained in this dictionary. |
|
|
|
ContainsValue
(DateTime)Checks whether a given value is contained in this dictionary. |
|
|
|
ContainsValue
(double)Checks whether a given value is contained in this dictionary. |
|
|
|
ContainsValue
(long)Checks whether a given value is contained in this dictionary. |
|
|
|
ContainsValue
(object)Checks if the current instance contains the object corresponding to the specified key. |
|
|
|
ContainsValue
(string)Checks whether a given value is contained in this dictionary. |
|
|
|
CopyTo
(KeyValuePair<string, NSObject>[], int)Copies the System.Collections.Generic.Dictionary`2.ValueCollection elements to an existing one-dimensional Array, starting at the specified array index. |
|
|
override
|
Equals
(NSObject)Determines whether the specified Claunia.PropertyList.NSObject is equal to the current Claunia.PropertyList.NSDictionary. |
|
|
abstract
|
Equals
(NSObject)Determines if the specific NSObject is the same as the NSObject overriding this method. (Inherited from NSObject.) |
|
|
|
Get
(object)Gets the Claunia.PropertyList.NSObject corresponding to the specified key from the current instance. |
|
|
|
GetDictionary
()Gets the hashmap which stores the keys and values of this dictionary. Changes to the hashmap's contents are directly reflected in this dictionary. |
|
|
|
GetEnumerator
()Gets the enumerator. |
|
|
override
|
GetHashCode
()Serves as a hash function for a Claunia.PropertyList.NSDictionary object. |
|
|
|
ObjectForKey
(string)Gets the NSObject stored for the given key. |
|
|
|
Remove
(KeyValuePair<string, NSObject>)Removes the specified item. |
|
|
|
Remove
(object)Removes the item corresponding to the specified key from the current instance, if found. |
|
|
|
Remove
(string)Removes the item belonging to the specified key. |
|
|
|
ToASCIIPropertyList
()Generates a valid ASCII property list which has this NSDictionary as its root object. The generated property list complies with the format as described in https://developer.apple.com/library/mac/#documentation/Cocoa/Conceptual/PropertyLists/OldStylePlists/OldStylePLists.html Property List Programming Guide - Old-Style ASCII Property Lists. |
|
|
|
ToGnuStepASCIIPropertyList
()Generates a valid ASCII property list in GnuStep format which has this NSDictionary as its root object. The generated property list complies with the format as described in http://www.gnustep.org/resources/documentation/Developer/Base/Reference/NSPropertyList.html GnuStep - NSPropertyListSerialization class documentation. |
|
|
|
ToObject
()Converts this NSObject into an equivalent object of the .NET Runtime Environment. |
|
|
|
ToXmlPropertyList
()Generates a valid XML property list including headers using this object as root. (Inherited from NSObject.) |
|
|
|
TryGetValue
(string, out NSObject)Tries to get the item corresponding to the specified key |
|
|
|
IEnumerable.GetEnumerator | Documentation for this section has not yet been entered. |
Creates a new empty NSDictionary.Syntax
public NSDictionary ()Remarks
Documentation for this section has not yet been entered.Requirements
Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
Adds the specified item.Syntax
public void Add (KeyValuePair<string, NSObject> item)Parameters
- item
- Item.
Remarks
Documentation for this section has not yet been entered.Requirements
Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
Add the specified key and value.Syntax
Parameters
- key
- Key.
- value
- Value.
Remarks
Documentation for this section has not yet been entered.Requirements
Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
Puts a new key-value pair into this dictionary.Syntax
Parameters
- key
- The key.
- obj
- The value.
Remarks
Documentation for this section has not yet been entered.Requirements
Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
Puts a new key-value pair into this dictionary.Syntax
Parameters
- key
- The key.
- obj
- The value.
Remarks
Documentation for this section has not yet been entered.Requirements
Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
Puts a new key-value pair into this dictionary.Syntax
Parameters
- key
- The key.
- obj
- The value.
Remarks
Documentation for this section has not yet been entered.Requirements
Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
Puts a new key-value pair into this dictionary. If the value is null, no operation will be performed on the dictionary.Syntax
Parameters
- key
- The key.
- obj
- The value. Supported object types are numbers, byte-arrays, dates, strings and arrays or sets of those.
Remarks
Documentation for this section has not yet been entered.Requirements
Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
Clears this instance.Syntax
public void Clear ()Remarks
Documentation for this section has not yet been entered.Requirements
Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
Checks if the current instance contains the specified item.Syntax
public bool Contains (KeyValuePair<string, NSObject> item)Parameters
- item
- Item.
Returns
true if it is found, false otherwise.Remarks
Documentation for this section has not yet been entered.Requirements
Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
Checks if the specified object key is contained in the current instance.Syntax
Parameters
- key
- Key.
Returns
true, if key is contained, false otherwise.Remarks
Documentation for this section has not yet been entered.Requirements
Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
Checks if there is any item contained in the current instance corresponding with the specified key.Syntax
Parameters
- key
- Key.
Returns
true, if key was contained, false otherwise.Remarks
Documentation for this section has not yet been entered.Requirements
Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
Checks if there is any item contained in the current instance corresponding with the specified value.Syntax
Parameters
- value
- Key.
Returns
true, if value is contained, false otherwise.Remarks
Documentation for this section has not yet been entered.Requirements
Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
Checks whether a given value is contained in this dictionary.Syntax
Parameters
- val
- The value that will be searched for.
Returns
Whether the key is contained in this dictionary.Remarks
Documentation for this section has not yet been entered.Requirements
Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
Checks whether a given value is contained in this dictionary.Syntax
Parameters
- val
- The value that will be searched for.
Returns
Whether the key is contained in this dictionary.Remarks
Documentation for this section has not yet been entered.Requirements
Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
Checks whether a given value is contained in this dictionary.Syntax
Parameters
- val
- The value that will be searched for.
Returns
Whether the key is contained in this dictionary.Remarks
Documentation for this section has not yet been entered.Requirements
Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
Checks whether a given value is contained in this dictionary.Syntax
Parameters
- val
- The value that will be searched for.
Returns
Whether the key is contained in this dictionary.Remarks
Documentation for this section has not yet been entered.Requirements
Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
Checks whether a given value is contained in this dictionary.Syntax
Parameters
- val
- The value that will be searched for.
Returns
Whether the key is contained in this dictionary.Remarks
Documentation for this section has not yet been entered.Requirements
Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
Checks if the current instance contains the object corresponding to the specified key.Syntax
Parameters
- value
- Object to search up in the current instance.
Returns
true, if value is contained, false otherwise.Remarks
Documentation for this section has not yet been entered.Requirements
Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
Checks whether a given value is contained in this dictionary.Syntax
Parameters
- val
- The value that will be searched for.
Returns
Whether the key is contained in this dictionary.Remarks
Documentation for this section has not yet been entered.Requirements
Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
Copies the System.Collections.Generic.Dictionary`2.ValueCollection elements to an existing one-dimensional Array, starting at the specified array index.Syntax
Parameters
- array
- The one-dimensional Array that is the destination of the elements copied from System.Collections.Generic.Dictionary`2.ValueCollection. The Array must have zero-based indexing.
- arrayIndex
- The zero-based index in array at which copying begins.
Remarks
Documentation for this section has not yet been entered.Requirements
Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
Gets the count of items in the current instance.Syntax
public int Count { get; }Value
How many items are contained in the current instance.Remarks
Documentation for this section has not yet been entered.Requirements
Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
Determines whether the specified Claunia.PropertyList.NSObject is equal to the current Claunia.PropertyList.NSDictionary.Syntax
Parameters
- obj
- The Claunia.PropertyList.NSObject to compare with the current Claunia.PropertyList.NSDictionary.
Returns
true if the specified Claunia.PropertyList.NSObject is equal to the current Claunia.PropertyList.NSDictionary; otherwise, false.Remarks
Documentation for this section has not yet been entered.Requirements
Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
Gets the Claunia.PropertyList.NSObject corresponding to the specified key from the current instance.Syntax
Parameters
- key
- Key.
Returns
The object corresponding to the specified key, null if not found in the current instance.Remarks
Documentation for this section has not yet been entered.Requirements
Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
Gets the hashmap which stores the keys and values of this dictionary. Changes to the hashmap's contents are directly reflected in this dictionary.Syntax
public Dictionary<string, NSObject> GetDictionary ()Returns
The hashmap which is used by this dictionary to store its contents.Remarks
Documentation for this section has not yet been entered.Requirements
Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
Gets the enumerator.Syntax
public IEnumerator<KeyValuePair<string, NSObject>> GetEnumerator ()Returns
The enumerator.Remarks
Documentation for this section has not yet been entered.Requirements
Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
Serves as a hash function for a Claunia.PropertyList.NSDictionary object.Syntax
public override int GetHashCode ()Returns
A hash code for this instance that is suitable for use in hashing algorithms and data structures such as a hash table.Remarks
Documentation for this section has not yet been entered.Requirements
Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
Gets a value indicating whether this instance is empty.Syntax
public bool IsEmpty { get; }Value
true if this instance is empty; otherwise, false.Remarks
Documentation for this section has not yet been entered.Requirements
Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
Gets a value indicating whether this instance is read only.Syntax
public bool IsReadOnly { get; }Value
true if this instance is read only; otherwise, false.Remarks
Documentation for this section has not yet been entered.Requirements
Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
Gets or sets the Claunia.PropertyList.NSObject at the specified index.Syntax
Parameters
- index
- Index.
Value
Documentation for this section has not yet been entered.Remarks
Documentation for this section has not yet been entered.Requirements
Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
Gets an array with all the keys contained in the current instance.Syntax
public ICollection<string> Keys { get; }Value
The keys.Remarks
Documentation for this section has not yet been entered.Requirements
Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
Gets the NSObject stored for the given key.Syntax
Parameters
- key
- The key.
Returns
The object.Remarks
Documentation for this section has not yet been entered.Requirements
Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
Removes the specified item.Syntax
public bool Remove (KeyValuePair<string, NSObject> item)Parameters
- item
- Item to remove.
Returns
true if successfully removed, false if not, or if item is not in current instance.Remarks
Documentation for this section has not yet been entered.Requirements
Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
Removes the item corresponding to the specified key from the current instance, if found.Syntax
Parameters
- key
- Key.
Returns
true, if removed, false otherwise.Remarks
Documentation for this section has not yet been entered.Requirements
Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
Removes the item belonging to the specified key.Syntax
Parameters
- key
- Key.
Returns
Documentation for this section has not yet been entered.Remarks
Documentation for this section has not yet been entered.Requirements
Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
Documentation for this section has not yet been entered.Syntax
IEnumerator System.Collections.IEnumerable.GetEnumerator ()Returns
Documentation for this section has not yet been entered.Remarks
Documentation for this section has not yet been entered.Requirements
Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
Generates a valid ASCII property list which has this NSDictionary as its root object. The generated property list complies with the format as described in https://developer.apple.com/library/mac/#documentation/Cocoa/Conceptual/PropertyLists/OldStylePlists/OldStylePLists.html Property List Programming Guide - Old-Style ASCII Property Lists.Syntax
public string ToASCIIPropertyList ()Returns
ASCII representation of this object.Remarks
Documentation for this section has not yet been entered.Requirements
Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
Generates a valid ASCII property list in GnuStep format which has this NSDictionary as its root object. The generated property list complies with the format as described in http://www.gnustep.org/resources/documentation/Developer/Base/Reference/NSPropertyList.html GnuStep - NSPropertyListSerialization class documentation.Syntax
public string ToGnuStepASCIIPropertyList ()Returns
GnuStep ASCII representation of this object.Remarks
Documentation for this section has not yet been entered.Requirements
Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
Tries to get the item corresponding to the specified keySyntax
Parameters
- key
- Key.
- value
- Where to store the value.
Returns
true, if get value was successfully found and retrieved, false otherwise.Remarks
Documentation for this section has not yet been entered.Requirements
Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
Gets an array with all the objects contained in the current instance.Syntax
public ICollection<NSObject> Values { get; }Value
The objects.Remarks
Documentation for this section has not yet been entered.Requirements
Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0