The LabelsCollection type exposes the following members.

Constructors

Methods

  Name Description
Public method AddNewLabel
Creates a new label and appends it to the collection.
Public method Clear
Removes all objects from the CollectionBase instance. This method cannot be overridden.
(Inherited from CollectionBase.)
Public method Equals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected method Finalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Public method GetEnumerator
Returns an enumerator that iterates through the CollectionBase instance.
(Inherited from CollectionBase.)
Public method GetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public method GetType
Gets the Type of the current instance.
(Inherited from Object.)
Public method IndexOf
Public method InsertNewLabel
Creates a new label and inserts it into the collection at the specified index.
Protected method MemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Protected method OnClear (Overrides CollectionBase..::..OnClear()()()().)
Protected method OnClearComplete (Overrides CollectionBase..::..OnClearComplete()()()().)
Protected method OnInsert (Overrides CollectionBase..::..OnInsert(Int32, Object).)
Protected method OnInsertComplete (Overrides CollectionBase..::..OnInsertComplete(Int32, Object).)
Protected method OnRemove (Overrides CollectionBase..::..OnRemove(Int32, Object).)
Protected method OnRemoveComplete
Performs additional custom processes after removing an element from the CollectionBase instance.
(Inherited from CollectionBase.)
Protected method OnSet
Performs additional custom processes before setting a value in the CollectionBase instance.
(Inherited from CollectionBase.)
Protected method OnSetComplete
Performs additional custom processes after setting a value in the CollectionBase instance.
(Inherited from CollectionBase.)
Protected method OnValidate
Performs additional custom processes when validating a value.
(Inherited from CollectionBase.)
Public method Remove
Removes the label specified.
Public method RemoveAll
Public method RemoveAt
Removes the element at the specified index of the CollectionBase instance. This method is not overridable.
(Inherited from CollectionBase.)
Public method ToString
Returns a String that represents the current Object.
(Inherited from Object.)

Properties

  Name Description
Public property Capacity
Gets or sets the number of elements that the CollectionBase can contain.
(Inherited from CollectionBase.)
Public property Count
Gets the number of elements contained in the CollectionBase instance. This property cannot be overridden.
(Inherited from CollectionBase.)
Protected property InnerList
Gets an ArrayList containing the list of elements in the CollectionBase instance.
(Inherited from CollectionBase.)
Public property Item[([( Int32])])
Gets the specified label from the collection by numeric index.
Public property Item[([( String])])
Gets the specified label from the collection by name.
Protected property List
Gets an IList containing the list of elements in the CollectionBase instance.
(Inherited from CollectionBase.)

See Also