Share via


CalculationPropertyCollection.Contains Method (String)

Indicates whether the collection contains a CalculationProperty, with the specified identifier.

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

Syntax

'Declaration
Public Function Contains ( _
    calculationReference As String _
) As Boolean
'Usage
Dim instance As CalculationPropertyCollection
Dim calculationReference As String
Dim returnValue As Boolean

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

Parameters

Return Value

Type: System.Boolean
true if the CalculationProperty is contained in the collection; otherwise, false.