Partager via


Contains méthode (String)

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

Espace de noms :  Microsoft.AnalysisServices
Assembly :  Microsoft.AnalysisServices (dans Microsoft.AnalysisServices.dll)

Syntaxe

'Déclaration
Public Function Contains ( _
    calculationReference As String _
) As Boolean
'Utilisation
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

Paramètres

Valeur de retour

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