Propriété ActionCollection.Item (String)
Gets the Action object identified by the name parameter.
Espace de noms : Microsoft.SqlServer.Management.XEvent
Assembly : Microsoft.SqlServer.Management.XEvent (en Microsoft.SqlServer.Management.XEvent.dll)
Syntaxe
'Déclaration
Public ReadOnly Default Property Item ( _
name As String _
) As Action
Get
'Utilisation
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 prend en charge l'utilisation de propriétés indexées, mais pas la déclaration de nouvelles propriétés.
Paramètres
- name
Type : System.String
The name of the Action object.
Valeur de propriété
Type : Microsoft.SqlServer.Management.XEvent.Action
An Action object specified by the name parameter.