Propriété PublishedEvent.FieldList.Item (Int32)

Gets a field by ordinal from the fields collection.

Espace de noms :  Microsoft.SqlServer.XEvent.Linq
Assembly :  Microsoft.SqlServer.XEvent.Linq (en Microsoft.SqlServer.XEvent.Linq.dll)

Syntaxe

'Déclaration
Public ReadOnly Default Property Item ( _
    fieldIndex As Integer _
) As PublishedEventField 
    Get
'Utilisation
Dim instance As PublishedEvent.FieldList 
Dim fieldIndex As Integer 
Dim value As PublishedEventField 

value = instance(fieldIndex)
public PublishedEventField this[
    int fieldIndex
] { get; }
public:
property PublishedEventField^ default[int fieldIndex] {
    PublishedEventField^ get (int fieldIndex);
}
member Item : PublishedEventField
JScript prend en charge l'utilisation de propriétés indexées, mais pas la déclaration de nouvelles propriétés.

Paramètres

Valeur de propriété

Type : Microsoft.SqlServer.XEvent.Linq.PublishedEventField
A field by ordinal from the fields collection.

Voir aussi

Référence

PublishedEvent.FieldList Classe

Surcharge Item

Espace de noms Microsoft.SqlServer.XEvent.Linq