Proprietà PerspectiveActionCollection.Item (String)
Gets the PerspectiveAction with the specified action identifier.
Spazio dei nomi Microsoft.AnalysisServices
Assembly: Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)
Sintassi
'Dichiarazione
Public ReadOnly Default Property Item ( _
actionId As String _
) As PerspectiveAction
Get
'Utilizzo
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 supporta l'utilizzo di proprietà indicizzate, ma non la dichiarazione di nuove proprietà.
Parametri
- actionId
Tipo: System.String
The identifier of the PerspectiveAction to return.
Valore proprietà
Tipo: Microsoft.AnalysisServices.PerspectiveAction
The PerspectiveAction specified by the identifier.
Eccezioni
Eccezione | Condizione |
---|---|
ArgumentNullException | actionID is a null reference (Nothing in Visual Basic). |
ItemNotFoundException | actionID does not exist in the collection. |