CommandCollection 成員
Contains a collection of Command objects. This class cannot be inherited.
CommandCollection 型別公開下列成員。
方法
名稱 | 描述 | |
---|---|---|
Add | Adds a Command to the end of the collection. | |
AddRange | Adds the elements of an ICollection to the end of the collection. | |
Clear | Removes all elements from the collection. | |
Contains | Indicates whether the collection contains a specified Command. | |
CopyTo | Copies the entire collection to a compatible one-dimensional Array, starting at the specified index of the target array. | |
Equals | (繼承自 Object。) | |
Finalize | (繼承自 Object。) | |
GetHashCode | (繼承自 Object。) | |
GetType | (繼承自 Object。) | |
IndexOf | Gets the index of a specified Command. | |
Insert | Inserts a Command into the collection at the specified index. | |
MemberwiseClone | (繼承自 Object。) | |
Remove | Removes the specified Command from the collection. | |
RemoveAt | Removes the Command at the specified index from the collection. | |
ToString | (繼承自 Object。) |
頂端
屬性
名稱 | 描述 | |
---|---|---|
Count | Gets the number of Command objects contained in the collection. | |
Item | Gets the Command at the specified index from the collection. |
頂端