Lenguaje

PublishedEvent.FieldList.Item[] Propiedad

Definición

Obtiene un campo de la colección de campos.

Sobrecargas

Nombre Description
Item[Int32]

Obtiene un campo por ordinal de la colección de campos.

Item[String]

Obtiene un campo por nombre de la colección de campos.

Item[Int32]

Obtiene un campo por ordinal de la colección de campos.

public:
 property Microsoft::SqlServer::XEvent::Linq::PublishedEventField ^ default[int] { Microsoft::SqlServer::XEvent::Linq::PublishedEventField ^ get(int fieldIndex); };
public Microsoft.SqlServer.XEvent.Linq.PublishedEventField this[int fieldIndex] { get; }
member this.Item(int) : Microsoft.SqlServer.XEvent.Linq.PublishedEventField
Default Public ReadOnly Property Item(fieldIndex As Integer) As PublishedEventField

Parámetros

fieldIndex
Int32

El índice de campo.

Valor de propiedad

Un cuerpo por ordinal de la colección de campos.

Se aplica a

Item[String]

Obtiene un campo por nombre de la colección de campos.

public:
 property Microsoft::SqlServer::XEvent::Linq::PublishedEventField ^ default[System::String ^] { Microsoft::SqlServer::XEvent::Linq::PublishedEventField ^ get(System::String ^ fieldName); };
public Microsoft.SqlServer.XEvent.Linq.PublishedEventField this[string fieldName] { get; }
member this.Item(string) : Microsoft.SqlServer.XEvent.Linq.PublishedEventField
Default Public ReadOnly Property Item(fieldName As String) As PublishedEventField

Parámetros

fieldName
String

Nombre del campo que se va a recuperar.

Valor de propiedad

Un campo por nombre de la colección de campos.

Se aplica a