Search
CommandList Members
Constructors Properties Methods
 


Represents a read-only collection of Command objects.

The following tables list the members exposed by the CommandList type.

 Public Constructors

  Name Description

CommandList

Initializes a new instance of the CommandList class.

 Public Properties

  Name Description

Count

Gets the number of commands contained within the collection.

IsSynchronized

Gets a value indicating whether the access to the collection is synchronized.

Item

Gets the command at the specified index.

SyncRoot

Gets an object that can be used to synchronize access to the collection.

 Public Methods

  Name Description

Contains

Determines whether the specified command is contained within the collection.

CopyTo

Copies a range of commands from the current collection to the specified array, starting at the specified index of the target array.

GetEnumerator

Returns an enumerator for the collection.

IndexOf

Returns the zero-based index of the specified command within the collection.

 See Also