Compartir a través de


Contains Método

Indicates whether the collection contains a specified Command.

Espacio de nombres:  Microsoft.AnalysisServices
Ensamblado:  Microsoft.AnalysisServices (en Microsoft.AnalysisServices.dll)

Sintaxis

'Declaración
Public Function Contains ( _
    item As Command _
) As Boolean
'Uso
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

Parámetros

Valor devuelto

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