#FormatCollection

##Properties

Datatype Property name Property description Default Value
String[] AllKeys Gets a System.String array of all the keys for the collection. []
Array AllValues Gets an array of Izenda.AdHoc.IFormat objects that correspond to the values in the collection. []
Int32 Count Gets the number of key/value pairs contained in the System.Collections.Specialized.NameObjectCollectionBase instance. 0
Boolean HasKeys Determines whether the collection contains entries whose keys are not null. False
String Item Gets or sets the element with the specified key. null
KeysCollection Keys Gets a System.Collections.Specialized.KeysCollection instance that contains all the keys in the System.Collections.Specialized.NameObjectCollectionBase instance. {}

##Methods

###Add(System.String,Izenda.AdHoc.IFormat) Adds an entry with the specified key and value into the Izenda.AdHoc.FormatCollection instance.

Parameters:


###Add(System.String,System.String) Adds an entry with the specified key and value into the Izenda.AdHoc.FormatCollection instance.

Parameters:


###Clear() Removes all entries from the System.Collections.Specialized.NameObjectCollectionBase instance.


###Equals(System.Object) Determines whether the specified System.Object is equal to the current System.Object.

Parameters:

Returns:

true if the specified System.Object is equal to the current System.Object; otherwise, false.


###Get(System.String) Gets the value of the first entry with the specified key from the Izenda.AdHoc.FormatCollection instance.

Parameters:

Returns:

A Izenda.AdHoc.IFormat that represents the value of the first entry with the specified key if found; otherwise, null.


###GetEnumerator() Returns an enumerator that iterates through the System.Collections.Specialized.NameObjectCollectionBase.

Returns:

An System.Collections.IEnumerator for the System.Collections.Specialized.NameObjectCollectionBase instance.


###GetHashCode() Serves as a hash function for a particular type.

Returns:

A hash code for the current System.Object.


###GetObjectData(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext) Implements the System.Runtime.Serialization.ISerializable interface and returns the data needed to serialize the System.Collections.Specialized.NameObjectCollectionBase instance.

Parameters:


###GetType() Gets the System.Type of the current instance.

Returns:

The System.Type instance that represents the exact runtime type of the current instance.


###OnDeserialization(System.Object) Implements the System.Runtime.Serialization.ISerializable interface and raises the deserialization event when the deserialization is complete.

Parameters:

  • System.Object sender - The source of the deserialization event.

###Remove(System.String) Removes the entries with the specified key from the Izenda.AdHoc.FormatCollection instance.

Parameters:


###Remove(System.Int32) Removes the entry at the specified index of the Izenda.AdHoc.FormatCollection instance.

Parameters:

  • System.Int32 index - The zero-based index of the entry to remove.

###Set(System.String,Izenda.AdHoc.IFormat) Sets the value of the first entry with the specified key, if found, in the Izenda.AdHoc.FormatCollection instance. Otherwise, adds an entry with the specified key and value into the Izenda.AdHoc.FormatCollection instance.

Parameters:


###ToString() Returns a System.String that represents the current System.Object.

Returns:

A System.String that represents the current System.Object.