Share via


PerspectiveAttributeCollection.Contains Method (PerspectiveAttribute)

Indicates whether the collection contains the specified PerspectiveAttribute.

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

Syntax

'Declaration
Public Function Contains ( _
    item As PerspectiveAttribute _
) As Boolean
'Usage
Dim instance As PerspectiveAttributeCollection
Dim item As PerspectiveAttribute
Dim returnValue As Boolean

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

Return Value

Type: System.Boolean
true if the PerspectiveAttribute exists in the collection; otherwise, false.