PublishedEvent.FieldList.Item Property (Int32)
Gets a field by ordinal from the fields collection.
Namespace: Microsoft.SqlServer.XEvent.Linq
Assembly: Microsoft.SqlServer.XEvent.Linq (in Microsoft.SqlServer.XEvent.Linq.dll)
Syntax
'Declaration
Public ReadOnly Default Property Item ( _
fieldIndex As Integer _
) As PublishedEventField
Get
'Usage
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 supports the use of indexed properties, but not the declaration of new ones.
Parameters
- fieldIndex
Type: System.Int32
The field index.
Property Value
Type: Microsoft.SqlServer.XEvent.Linq.PublishedEventField
A field by ordinal from the fields collection.