Share via


AggregationCollection.Contains Method (Aggregation)

Indicates whether the collection contains a specified Aggregation.

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

Syntax

'Declaration
Public Function Contains ( _
    item As Aggregation _
) As Boolean
'Usage
Dim instance As AggregationCollection
Dim item As Aggregation
Dim returnValue As Boolean

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

Parameters

Return Value

Type: System.Boolean
true if the Aggregation is contained in the collection; otherwise, false.