Share via


CommandCollection Miembros

Contains a collection of Command objects. This class cannot be inherited.

El tipo CommandCollection expone los siguientes miembros.

Constructores

  Nombre Descripción
Método publico CommandCollection Initializes a new instance of Command.

Principio

Métodos

  Nombre Descripción
Método publico Add Adds a Command to the end of the collection.
Método publico AddRange Adds the elements of an ICollection to the end of the collection.
Método publico Clear Removes all elements from the collection.
Método publico Contains Indicates whether the collection contains a specified Command.
Método publico CopyTo Copies the entire collection to a compatible one-dimensional Array, starting at the specified index of the target array.
Método publico Equals (Se hereda de Object).
Método protegido Finalize (Se hereda de Object).
Método publico GetHashCode (Se hereda de Object).
Método publico GetType (Se hereda de Object).
Método publico IndexOf Gets the index of a specified Command.
Método publico Insert Inserts a Command into the collection at the specified index.
Método protegido MemberwiseClone (Se hereda de Object).
Método publico Remove Removes the specified Command from the collection.
Método publico RemoveAt Removes the Command at the specified index from the collection.
Método publico ToString (Se hereda de Object).

Principio

Propiedades

  Nombre Descripción
Propiedad pública Count Gets the number of Command objects contained in the collection.
Propiedad pública Item Gets the Command at the specified index from the collection.

Principio