Share via


CalculationPropertyCollection.Contains Method

Definition

Overloads

Contains(CalculationProperty)

Indicates whether the collection contains the specified CalculationProperty.

Contains(String)

Indicates whether the collection contains a CalculationProperty with the specified Calculation-Reference.

Contains(CalculationProperty)

Indicates whether the collection contains the specified CalculationProperty.

public bool Contains (Microsoft.AnalysisServices.CalculationProperty item);
override this.Contains : Microsoft.AnalysisServices.CalculationProperty -> bool
Public Function Contains (item As CalculationProperty) As Boolean

Parameters

item
CalculationProperty

The CalculationProperty to be located.

Returns

True, if the specified CalculationProperty is found in the collection, otherwise, false.

Applies to

Contains(String)

Indicates whether the collection contains a CalculationProperty with the specified Calculation-Reference.

public bool Contains (string calculationReference);
override this.Contains : string -> bool
Public Function Contains (calculationReference As String) As Boolean

Parameters

calculationReference
String

The Calculation-Reference of the CalculationProperty to be located.

Returns

True, if the specified CalculationProperty is found in the collection, otherwise, false.

Exceptions

The specified calculationReference is a null reference (Nothing in Visual Basic).

Applies to