Compartilhar via


Método Contains (String)

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

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

Sintaxe

'Declaração
Public Function Contains ( _
    actionId As String _
) As Boolean
'Uso
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

Parâmetros

Valor de retorno

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