Share via


AggregationInstanceAttributeCollection.Contains Method (AggregationInstanceAttribute)

Indicates whether the collection contains the specified AggregationInstanceAttribute.

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

Syntax

'Declaration
Public Function Contains ( _
    item As AggregationInstanceAttribute _
) As Boolean
'Usage
Dim instance As AggregationInstanceAttributeCollection
Dim item As AggregationInstanceAttribute
Dim returnValue As Boolean

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

Return Value

Type: System.Boolean
Returns true if the specified AggregationInstanceAttribute exists in the collection; otherwise, false