KpiCollection.Contains Method (Kpi)
Indicates whether the collection contains a specified Kpi.
Namespace: Microsoft.AnalysisServices
Assembly: Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)
Syntax
'Declaration
Public Function Contains ( _
item As Kpi _
) As Boolean
'Usage
Dim instance As KpiCollection
Dim item As Kpi
Dim returnValue As Boolean
returnValue = instance.Contains(item)
public bool Contains(
Kpi item
)
public:
bool Contains(
Kpi^ item
)
member Contains :
item:Kpi -> bool
public function Contains(
item : Kpi
) : boolean
Parameters
- item
Type: Microsoft.AnalysisServices.Kpi
The Kpi to be located.
Return Value
Type: System.Boolean
true if the Kpi is contained in the collection; otherwise, false.