Compartir a través de


PublishedEvent.FieldList.Item Propiedad (String)

Gets a field by name from the fields collection.

Espacio de nombres:  Microsoft.SqlServer.XEvent.Linq
Ensamblado:  Microsoft.SqlServer.XEvent.Linq (en Microsoft.SqlServer.XEvent.Linq.dll)

Sintaxis

'Declaración
Public ReadOnly Default Property Item ( _
    fieldName As String _
) As PublishedEventField 
    Get
'Uso
Dim instance As PublishedEvent.FieldList 
Dim fieldName As String 
Dim value As PublishedEventField 

value = instance(fieldName)
public PublishedEventField this[
    string fieldName
] { get; }
public:
property PublishedEventField^ default[String^ fieldName] {
    PublishedEventField^ get (String^ fieldName);
}
member Item : PublishedEventField
JScript admite el uso de propiedades indizadas, pero no la declaración de otras nuevas.

Parámetros

  • fieldName
    Tipo: System.String
    The name of the field to retrieve.

Valor de la propiedad

Tipo: Microsoft.SqlServer.XEvent.Linq.PublishedEventField
A field by name from the fields collection.

Vea también

Referencia

PublishedEvent.FieldList Clase

Sobrecarga de Item

Espacio de nombres Microsoft.SqlServer.XEvent.Linq