#ToolbarItemsCollection

##Properties

Datatype Property name Property description Default Value
String[] AllKeys Gets a String array that contains all the keys in the collection. []
Array AllValues Gets an Object array that contains all 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 Gets a value indicating if the collection contains keys that are not null. False
DictionaryEntry Item Gets a key-and-value pair (DictionaryEntry) using an index. null
ToolbarItem Item Gets or sets the value associated 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. {}
Toolbar ParentToolbar Gets or sets the toolbar that this collection belongs to. null

##Methods

###Add(System.String,Izenda.Web.UI.ToolbarItem) Adds an entry to the collection.

Parameters:


###Clear() Clears all the elements in the collection.


###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.


###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.


###IndexOf(System.String)

Parameters:


###Insert(System.Int32,System.String,Izenda.Web.UI.ToolbarItem) Insert into collection at specificied index.

Parameters:


###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 an entry with the specified key from the collection.

Parameters:


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

Returns:

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