Class XMLSerializableDictionary
Summary description for XMLSerializeableDictionary.
Inheritance
System.Object
System.Collections.CollectionBase
XMLSerializableDictionary
Implements
System.Collections.IList
System.Collections.ICollection
System.Collections.IEnumerable
Inherited Members
System.Collections.CollectionBase.Clear()
System.Collections.CollectionBase.RemoveAt(System.Int32)
System.Collections.CollectionBase.System.Collections.ICollection.CopyTo(System.Array, System.Int32)
System.Collections.CollectionBase.System.Collections.IList.get_Item(System.Int32)
System.Collections.CollectionBase.System.Collections.IList.set_Item(System.Int32, System.Object)
System.Collections.CollectionBase.System.Collections.IList.Contains(System.Object)
System.Collections.CollectionBase.System.Collections.IList.Add(System.Object)
System.Collections.CollectionBase.System.Collections.IList.Remove(System.Object)
System.Collections.CollectionBase.System.Collections.IList.IndexOf(System.Object)
System.Collections.CollectionBase.System.Collections.IList.Insert(System.Int32, System.Object)
System.Collections.CollectionBase.GetEnumerator()
System.Collections.CollectionBase.OnSet(System.Int32, System.Object, System.Object)
System.Collections.CollectionBase.OnClear()
System.Collections.CollectionBase.OnRemove(System.Int32, System.Object)
System.Collections.CollectionBase.OnValidate(System.Object)
System.Collections.CollectionBase.OnSetComplete(System.Int32, System.Object, System.Object)
System.Collections.CollectionBase.OnInsertComplete(System.Int32, System.Object)
System.Collections.CollectionBase.OnClearComplete()
System.Collections.CollectionBase.OnRemoveComplete(System.Int32, System.Object)
System.Collections.CollectionBase.InnerList
System.Collections.CollectionBase.List
System.Collections.CollectionBase.Capacity
System.Collections.CollectionBase.Count
System.Collections.CollectionBase.System.Collections.IList.IsReadOnly
System.Collections.CollectionBase.System.Collections.IList.IsFixedSize
System.Collections.CollectionBase.System.Collections.ICollection.IsSynchronized
System.Collections.CollectionBase.System.Collections.ICollection.SyncRoot
System.Collections.CollectionBase.System.Collections.IList.Item[System.Int32]
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: ImageVault.Core.License.Util
Assembly: ImageVault.Core.dll
Syntax
public class XMLSerializableDictionary : CollectionBase, IList, ICollection, IEnumerable
Constructors
XMLSerializableDictionary()
Creates an instance of the XMLSerializeableDictionary class.
Declaration
public XMLSerializableDictionary()
XMLSerializableDictionary(Boolean)
Creates an instance of the XMLSerializeableDictionary class.
Declaration
public XMLSerializableDictionary(bool ignoreCaseForKeys)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | ignoreCaseForKeys | If the dictionary should ignore case when comparing keys |
Properties
IgnoreCaseForKeys
If the dictionary should ignore case when comparing keys
Declaration
public bool IgnoreCaseForKeys { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Item[Int32]
Gets the item at the supplied index
Declaration
public XMLSerializableDictionaryItem this[int index] { get; set; }
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | index |
Property Value
Type | Description |
---|---|
XMLSerializableDictionaryItem |
Item[String]
Gets the value associated with the supplied key
Declaration
public string this[string key] { get; set; }
Parameters
Type | Name | Description |
---|---|---|
System.String | key |
Property Value
Type | Description |
---|---|
System.String |
Methods
Add(XMLSerializableDictionaryItem)
Adds an item to the dictionary
Declaration
public int Add(XMLSerializableDictionaryItem item)
Parameters
Type | Name | Description |
---|---|---|
XMLSerializableDictionaryItem | item | The item to add |
Returns
Type | Description |
---|---|
System.Int32 | The index where the item was added |
Add(String, String)
Adds a key/value pair to the dictionary
Declaration
public void Add(string key, string value)
Parameters
Type | Name | Description |
---|---|---|
System.String | key | |
System.String | value |
Contains(String)
Checks if a specific key exists.
Declaration
public bool Contains(string key)
Parameters
Type | Name | Description |
---|---|---|
System.String | key |
Returns
Type | Description |
---|---|
System.Boolean |
OnInsert(Int32, Object)
When a insertion occurs, make sure that the key is unique
Declaration
protected override void OnInsert(int index, object value)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | index | The index where the insertion occurs |
System.Object | value | the value to insert |
Overrides
System.Collections.CollectionBase.OnInsert(System.Int32, System.Object)
Remove(XMLSerializableDictionaryItem)
Removes an item from the dictionary
Declaration
public void Remove(XMLSerializableDictionaryItem item)
Parameters
Type | Name | Description |
---|---|---|
XMLSerializableDictionaryItem | item | The item to remove |
Implements
System.Collections.IList
System.Collections.ICollection
System.Collections.IEnumerable