Freigeben über


AggregationInstanceAttributeCollection.Contains Method

Definition

Overloads

Contains(AggregationInstanceAttribute)

Indicates whether the collection contains the specified AggregationInstanceAttribute.

Contains(String)

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

Contains(AggregationInstanceAttribute)

Indicates whether the collection contains the specified AggregationInstanceAttribute.

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

Parameters

Returns

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

Applies to

Contains(String)

Indicates whether the collection contains an AggregationInstanceAttribute 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 AggregationInstanceAttribute to be located.

Returns

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

Exceptions

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

Applies to