Partager via


Contains méthode (String)

Indicates whether the collection contains a PerspectiveMeasure that has the specified identifier.

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

Syntaxe

'Déclaration
Public Function Contains ( _
    measureId As String _
) As Boolean
'Utilisation
Dim instance As PerspectiveMeasureCollection
Dim measureId As String
Dim returnValue As Boolean

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

Paramètres

Valeur de retour

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