Jaa


AggregationAttributeCollection.Contains Method

Definition

Overloads

Contains(AggregationAttribute)

Indicates whether the collection contains the specified AggregationAttribute.

Contains(String)

Indicates whether the collection contains an AggregationAttribute with the specified AttributeID.

Contains(AggregationAttribute)

Indicates whether the collection contains the specified AggregationAttribute.

public bool Contains (Microsoft.AnalysisServices.AggregationAttribute item);
override this.Contains : Microsoft.AnalysisServices.AggregationAttribute -> bool
Public Function Contains (item As AggregationAttribute) As Boolean

Parameters

item
AggregationAttribute

The AggregationAttribute to be located.

Returns

True, if the specified AggregationAttribute is found in the collection, otherwise, false.

Applies to

Contains(String)

Indicates whether the collection contains an AggregationAttribute with the specified AttributeID.

public bool Contains (string attributeId);
override this.Contains : string -> bool
Public Function Contains (attributeId As String) As Boolean

Parameters

attributeId
String

The AttributeID of the AggregationAttribute to be located.

Returns

True, if the specified AggregationAttribute is found in the collection, otherwise, false.

Exceptions

The specified attributeId is a null reference (Nothing in Visual Basic).

Applies to