Partager via


Méthode Contains (String)

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

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

Syntaxe

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

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

Paramètres

Valeur de retour

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