Contains a collection of Command objects. This class cannot be inherited.
The following tables list the members exposed by the CommandCollection type.
Public Constructors
| 名称 | Description | |
|---|---|---|
| CommandCollection | Initializes a new instance of Command. | 
顶部
Public Properties
| 名称 | Description | |
|---|---|---|
| .gif) | Count | Gets the number of Command objects contained in the collection. | 
| .gif) | Item | Gets the Command at the specified index from the collection. | 
顶部
Public Methods
(see also Protected Methods )
| 名称 | Description | |
|---|---|---|
| .gif) | Add | Adds a Command to the end of the collection. | 
| .gif) | AddRange | Adds the elements of an ICollection to the end of the collection. | 
| .gif) | Clear | Removes all elements from the collection. | 
| .gif) | Contains | Indicates whether the collection contains a specified Command. | 
| .gif) | CopyTo | Copies the entire collection to a compatible one-dimensional Array, starting at the specified index of the target array. | 
| .gif) | Equals | Overloaded. (inherited from Object ) | 
| .gif) | GetHashCode | (inherited from Object ) | 
| .gif) | GetType | (inherited from Object ) | 
| .gif) | IndexOf | Gets the index of a specified Command. | 
| .gif) | Insert | Inserts a Command into the collection at the specified index. | 
| .gif) .gif) | ReferenceEquals | (inherited from Object ) | 
| .gif) | Remove | Removes the specified Command from the collection. | 
| .gif) | RemoveAt | Removes the Command at the specified index from the collection. | 
| .gif) | ToString | (inherited from Object ) | 
顶部
Protected Methods
| 名称 | Description | |
|---|---|---|
| .gif) | Finalize | (inherited from Object ) | 
| .gif) | MemberwiseClone | (inherited from Object ) | 
顶部
Explicit Interface Implementations
顶部
请参阅
参考
CommandCollection Class
Microsoft.AnalysisServices Namespace