Share via


PerspectiveAttributeCollection.Contains Method (String)

Indicates whether the collection contains a PerspectiveAttribute that has the specified identifier.

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

Syntax

'Declaration
Public Function Contains ( _
    attributeId As String _
) As Boolean
'Usage
Dim instance As PerspectiveAttributeCollection 
Dim attributeId As String 
Dim returnValue As Boolean 

returnValue = instance.Contains(attributeId)
public bool Contains(
    string attributeId
)
public:
bool Contains(
    String^ attributeId
)
member Contains : 
        attributeId:string -> bool
public function Contains(
    attributeId : String
) : boolean

Parameters

Return Value

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

See Also

Reference

PerspectiveAttributeCollection Class

Contains Overload

Microsoft.AnalysisServices Namespace