Share via


PerspectiveActionCollection.Item Property (String)

Gets the PerspectiveAction with the specified action identifier.

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

Syntax

'Declaration
Public ReadOnly Default Property Item ( _
    actionId As String _
) As PerspectiveAction 
    Get
'Usage
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 supports the use of indexed properties, but not the declaration of new ones.

Parameters

Property Value

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

Exceptions

Exception Condition
ArgumentNullException

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

ItemNotFoundException

actionID does not exist in the collection.

See Also

Reference

PerspectiveActionCollection Class

Item Overload

Microsoft.AnalysisServices Namespace