Méthode CommandCollection.Contains
Indicates whether the collection contains a specified Command.
Espace de noms : Microsoft.AnalysisServices
Assembly : Microsoft.AnalysisServices (en Microsoft.AnalysisServices.dll)
Syntaxe
'Déclaration
Public Function Contains ( _
item As Command _
) As Boolean
'Utilisation
Dim instance As CommandCollection
Dim item As Command
Dim returnValue As Boolean
returnValue = instance.Contains(item)
public bool Contains(
Command item
)
public:
bool Contains(
Command^ item
)
member Contains :
item:Command -> bool
public function Contains(
item : Command
) : boolean
Paramètres
- item
Type : Microsoft.AnalysisServices.Command
The Command to be located.
Valeur de retour
Type : System.Boolean
true if the Command is contained in the collection; otherwise, false.