Compartilhar via


Propriedade Item (String)

Gets the PerspectiveAction that has the specified identifier from the collection.

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

Sintaxe

'Declaração
Public ReadOnly Default Property Item ( _
    actionId As String _
) As PerspectiveAction
    Get
'Uso
Dim instance As PerspectiveActionCollection
Dim actionId As String
Dim value As PerspectiveAction

value = instance(actionId)
public PerspectiveAction this[
    string actionId
] { get; }
public:
property PerspectiveAction^ default[String^ actionId] {
    PerspectiveAction^ get (String^ actionId);
}
member Item : PerspectiveAction
JScript dá suporte ao uso de propriedades indexadas, mas não à declaração de propriedades novas.

Parâmetros

Valor da propriedade

Tipo: Microsoft.AnalysisServices. . :: . .PerspectiveAction
The PerspectiveAction specified by the identifier.

Exceções

Exceção Condição
ArgumentNullException

actionID is a null reference (Nothing in Visual Basic).

ItemNotFoundException

actionID does not exist in the collection.