Condividi tramite


Proprietà EventFieldCollection.Item (String)

Gets the EventField object with the specified name.

Spazio dei nomi  Microsoft.SqlServer.Management.XEvent
Assembly:  Microsoft.SqlServer.Management.XEvent (in Microsoft.SqlServer.Management.XEvent.dll)

Sintassi

'Dichiarazione
Public ReadOnly Default Property Item ( _
    name As String _
) As EventField 
    Get
'Utilizzo
Dim instance As EventFieldCollection 
Dim name As String 
Dim value As EventField 

value = instance(name)
public EventField this[
    string name
] { get; }
public:
property EventField^ default[String^ name] {
    EventField^ get (String^ name);
}
member Item : EventField
JScript supporta l'utilizzo di proprietà indicizzate, ma non la dichiarazione di nuove proprietà.

Parametri

  • name
    Tipo: System.String
    A string value that contains the name.

Valore proprietà

Tipo: Microsoft.SqlServer.Management.XEvent.EventField
A EventField object.

Vedere anche

Riferimento

EventFieldCollection Classe

Overload Item

Spazio dei nomi Microsoft.SqlServer.Management.XEvent