CommandCollection Class
Collapse the table of content
Expand the table of content

CommandCollection Class

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


Namespace:  Microsoft.AnalysisServices
Assembly:  Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)

public sealed class CommandCollection : IList, 
	ICollection, IEnumerable

The CommandCollection type exposes the following members.

Public methodCommandCollectionInitializes a new instance of Command.

Public propertyCountGets the number of Command objects contained in the collection.
Public propertyItemGets the Command at the specified index from the collection.

Public methodAddAdds a Command to the end of the collection.
Public methodAddRangeAdds the elements of an ICollection to the end of the collection.
Public methodClearRemoves all elements from the collection.
Public methodContainsIndicates whether the collection contains a specified Command.
Public methodCopyToCopies the entire collection to a compatible one-dimensional Array, starting at the specified index of the target array.
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Public methodIndexOfGets the index of a specified Command.
Public methodInsertInserts a Command into the collection at the specified index.
Protected methodMemberwiseClone (Inherited from Object.)
Public methodRemoveRemoves the specified Command from the collection.
Public methodRemoveAtRemoves the Command at the specified index from the collection.
Public methodToString (Inherited from Object.)

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Community Additions

© 2016 Microsoft