Sdílet prostřednictvím


PerspectiveCalculationCollection.Contains Method (PerspectiveCalculation)

Indicates whether the collection contains a specified PerspectiveCalculation.

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

Syntax

'Declaration
Public Function Contains ( _
    item As PerspectiveCalculation _
) As Boolean
'Usage
Dim instance As PerspectiveCalculationCollection
Dim item As PerspectiveCalculation
Dim returnValue As Boolean

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

Return Value

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