ActionInfoCollection.Item Property (String)
Gets the ActionInfo object with the specified name.
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 ActionInfo
Get
'Usage
Dim instance As ActionInfoCollection
Dim name As String
Dim value As ActionInfo
value = instance(name)
public ActionInfo this[
string name
] { get; }
public:
virtual property ActionInfo^ default[String^ name] {
ActionInfo^ get (String^ name) sealed;
}
abstract Item : ActionInfo
override Item : ActionInfo
JScript supports the use of indexed properties, but not the declaration of new ones.
Parameters
- name
Type: System.String
The name of the ActionInfo object.
Property Value
Type: Microsoft.SqlServer.Management.XEvent.ActionInfo
An ActionInfo object with the specified name.