Share via


AggregationAttributeCollection.Contains Method (AggregationAttribute)

Indicates whether the collection contains the specified AggregationAttribute.

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

Syntax

'Declaration
Public Function Contains ( _
    item As AggregationAttribute _
) As Boolean
'Usage
Dim instance As AggregationAttributeCollection
Dim item As AggregationAttribute
Dim returnValue As Boolean

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

Return Value

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