Condividi tramite


Metodo Contains

Indicates whether the collection contains a specified Command.

Spazio dei nomi:  Microsoft.AnalysisServices
Assembly:  Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)

Sintassi

'Dichiarazione
Public Function Contains ( _
    item As Command _
) As Boolean
'Utilizzo
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

Parametri

Valore restituito

Tipo: System. . :: . .Boolean
true if the Command is contained in the collection; otherwise, false.