Partager via


PublishedEvent.FieldList.Item[] Propriété

Définition

Obtient un champ à partir de la collection de champs.

Surcharges

Item[Int32]

Obtient un champ par ordinal à partir de la collection de champs.

Item[String]

Obtient un champ par nom à partir de la collection de champs.

Item[Int32]

Obtient un champ par ordinal à partir de la collection de champs.

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

Paramètres

fieldIndex
Int32

Index de champ.

Valeur de propriété

Champ par ordinal à partir de la collection de champs.

S’applique à

Item[String]

Obtient un champ par nom à partir de la collection de champs.

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

Paramètres

fieldName
String

Nom du champ à extraire.

Valeur de propriété

Champ par nom à partir de la collection de champs.

S’applique à