ActionCollection.Item Property (String)
Gets the Action object identified by the name parameter.
Namespace: Microsoft.SqlServer.Management.XEvent
Assembly: Microsoft.SqlServer.Management.XEvent (in Microsoft.SqlServer.Management.XEvent.dll)
Syntax
'Declaration
Public ReadOnly Default Property Item ( _
name As String _
) As Action
Get
'Usage
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 supports the use of indexed properties, but not the declaration of new ones.
Parameters
- name
Type: System.String
The name of the Action object.
Property Value
Type: Microsoft.SqlServer.Management.XEvent.Action
An Action object specified by the name parameter.