Compartilhar via


Método AggregationInstanceCollection.Contains (AggregationInstance)

Checks whether the collection contains the specified AggregationInstance.

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

Sintaxe

'Declaração
Public Function Contains ( _
    item As AggregationInstance _
) As Boolean
'Uso
Dim instance As AggregationInstanceCollection 
Dim item As AggregationInstance 
Dim returnValue As Boolean 

returnValue = instance.Contains(item)
public bool Contains(
    AggregationInstance item
)
public:
bool Contains(
    AggregationInstance^ item
)
member Contains : 
        item:AggregationInstance -> bool
public function Contains(
    item : AggregationInstance
) : boolean

Parâmetros

Valor de retorno

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

Consulte também

Referência

AggregationInstanceCollection Classe

Sobrecarregado Contains

Namespace Microsoft.AnalysisServices