Partilhar via


Método Contains (AggregationInstance)

Indicates whether the collection contains a 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

Valor de retorno

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