Delen via


PerspectiveMeasureCollection.Contains Method (PerspectiveMeasure)

Indicates whether the collection contains the specified PerspectiveMeasure.

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

Syntax

'Declaration
Public Function Contains ( _
    item As PerspectiveMeasure _
) As Boolean
'Usage
Dim instance As PerspectiveMeasureCollection
Dim item As PerspectiveMeasure
Dim returnValue As Boolean

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

Return Value

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