Skip to main content

PlistDictionary

PlistDictionary

Cocos2D

Inheritance: System.Object → Cocos2D.PlistObjectBase

Implements: System.Collections.Generic.IEnumerable{System.Collections.Generic.KeyValuePair{System.String,Cocos2D.PlistObjectBase}}, System.Collections.IEnumerable

Constructors

PlistDictionary()

PlistDictionary()()

PlistDictionary(bool)

PlistDictionary(bool)(System.Boolean keepOrder)
Parameters:
keepOrder (System.Boolean)

PlistDictionary(Dictionary)

PlistDictionary(Dictionary)(System.Collections.Generic.DictionarySystem.String,Cocos2D.PlistObjectBase value)
Parameters:
value (System.Collections.Generic.DictionarySystem.String,Cocos2D.PlistObjectBase)

PlistDictionary(Dictionary, bool)

PlistDictionary(Dictionary, bool)(System.Collections.Generic.DictionarySystem.String,Cocos2D.PlistObjectBase value, System.Boolean keepOrder)
Parameters:
value (System.Collections.Generic.DictionarySystem.String,Cocos2D.PlistObjectBase)
keepOrder (System.Boolean)

PlistDictionary(IDictionary)

PlistDictionary(IDictionary)(System.Collections.IDictionary value)
Parameters:
value (System.Collections.IDictionary)

PlistDictionary(IDictionary, bool)

PlistDictionary(IDictionary, bool)(System.Collections.IDictionary value, System.Boolean keepOrder)
Parameters:
value (System.Collections.IDictionary)
keepOrder (System.Boolean)

Properties

AsArray(Cocos2D.PlistArray)
AsBinary(System.Byte[])
AsBool(System.Boolean)
AsDate(System.DateTime)
AsDictionary(Cocos2D.PlistDictionary)
AsFloat(System.Single)
AsInt(System.Int32)
AsString(System.String)
Count(System.Int32)
this[string](Cocos2D.PlistObjectBase)
Keys(System.Collections.Generic.IListSystem.String)

Methods

Add(string, PlistObjectBase)

Add(string, PlistObjectBase)(System.String key, Cocos2D.PlistObjectBase value)
Parameters:
key (System.String)
value (Cocos2D.PlistObjectBase)

Clear()

Clear()()

ContainsKey(string)

System.Boolean ContainsKey(string)(System.String key)
Parameters:
key (System.String)
Returns:
System.Boolean

GetEnumerator()

System.Collections.Generic.IEnumeratorSystem.Collections.Generic.KeyValuePairSystem.String,Cocos2D.PlistObjectBase GetEnumerator()()
Returns:
System.Collections.Generic.IEnumeratorSystem.Collections.Generic.KeyValuePairSystem.String,Cocos2D.PlistObjectBase
Example

Remove(string)

System.Boolean Remove(string)(System.String key)
Parameters:
key (System.String)
Returns:
System.Boolean

TryGetValue(string)

Cocos2D.PlistObjectBase TryGetValue(string)(System.String key)
Parameters:
key (System.String)
Returns:
Cocos2D.PlistObjectBase

Write(XmlWriter)

Write(XmlWriter)(System.Xml.XmlWriter writer)
Parameters:
writer (System.Xml.XmlWriter)
Example