Partager via


Méthode Add

Adds a Command to the end of the collection.

Espace de noms :  Microsoft.AnalysisServices
Assembly :  Microsoft.AnalysisServices (en Microsoft.AnalysisServices.dll)

Syntaxe

'Déclaration
Public Function Add ( _
    item As Command _
) As Integer
'Utilisation
Dim instance As CommandCollection
Dim item As Command
Dim returnValue As Integer

returnValue = instance.Add(item)
public int Add(
    Command item
)
public:
int Add(
    Command^ item
)
member Add : 
        item:Command -> int 
public function Add(
    item : Command
) : int

Paramètres

Valeur de retour

Type : System. . :: . .Int32
The zero-based index at which the Command has been added.