Compartilhar via


Método IModelComponentCollection.Contains

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

Sintaxe

'Declaração
Private Function Contains ( _
    item As IModelComponent _
) As Boolean Implements IModelComponentCollection.Contains
'Uso
Dim instance As ModelComponentCollection
Dim item As IModelComponent
Dim returnValue As Boolean

returnValue = CType(instance, IModelComponentCollection).Contains(item)
bool IModelComponentCollection.Contains(
    IModelComponent item
)
private:
virtual bool Contains(
    IModelComponent^ item
) sealed = IModelComponentCollection::Contains
private abstract Contains : 
        item:IModelComponent -> bool 
private override Contains : 
        item:IModelComponent -> bool 
JScript dá suporte ao uso de implementações de interfaces explícitas, mas não a declarações de implementações novas.

Valor de retorno

Tipo: System. . :: . .Boolean

Implementa

IModelComponentCollection. . :: . .Contains(IModelComponent)