PerspectiveAttributeCollection.Contains Method

Definition

Overloads

Contains(PerspectiveAttribute)

Indicates whether the collection contains the specified PerspectiveAttribute.

Contains(String)

Indicates whether the collection contains a PerspectiveAttribute with the specified AttributeID.

Contains(PerspectiveAttribute)

Indicates whether the collection contains the specified PerspectiveAttribute.

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

Parameters

item
PerspectiveAttribute

The PerspectiveAttribute to be located.

Returns

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

Applies to

Contains(String)

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

Returns

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

Exceptions

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

Applies to