ActionCollection.Item 屬性 (String)
Gets the Action object identified by the name parameter.
命名空間: Microsoft.SqlServer.Management.XEvent
組件: Microsoft.SqlServer.Management.XEvent (在 Microsoft.SqlServer.Management.XEvent.dll 中)
語法
'宣告
Public ReadOnly Default Property Item ( _
name As String _
) As Action
Get
'用途
Dim instance As ActionCollection
Dim name As String
Dim value As Action
value = instance(name)
public Action this[
string name
] { get; }
public:
property Action^ default[String^ name] {
Action^ get (String^ name);
}
member Item : Action
JScript 支援索引屬性的使用,但不支援新屬性的宣告。
參數
- name
型別:System.String
The name of the Action object.
屬性值
型別:Microsoft.SqlServer.Management.XEvent.Action
An Action object specified by the name parameter.