Dela via


PerspectiveKpiCollection.Contains Method (PerspectiveKpi)

Indicates whether the collection contains a specified PerspectiveKpi.

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

Syntax

'Declaration
Public Function Contains ( _
    item As PerspectiveKpi _
) As Boolean
'Usage
Dim instance As PerspectiveKpiCollection
Dim item As PerspectiveKpi
Dim returnValue As Boolean

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

Parameters

Return Value

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