PerspectiveActionCollection.Item 属性 (String)
Gets the PerspectiveAction with the specified action identifier.
命名空间: Microsoft.AnalysisServices
程序集: Microsoft.AnalysisServices(在 Microsoft.AnalysisServices.dll 中)
语法
声明
Public ReadOnly Default Property Item ( _
actionId As String _
) As PerspectiveAction
Get
用法
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 支持使用索引属性,但不支持声明新索引属性。
参数
- actionId
类型:System.String
The identifier of the PerspectiveAction to return.
属性值
类型:Microsoft.AnalysisServices.PerspectiveAction
The PerspectiveAction specified by the identifier.
异常
异常 | 条件 |
---|---|
ArgumentNullException | actionID is a null reference (Nothing in Visual Basic). |
ItemNotFoundException | actionID does not exist in the collection. |