Gets a field by ordinal from the fields collection.
命名空間: Microsoft.SqlServer.XEvent.Linq
組件: Microsoft.SqlServer.XEvent.Linq (在 Microsoft.SqlServer.XEvent.Linq.dll 中)
語法
'宣告
Public ReadOnly Default Property Item ( _
fieldIndex As Integer _
) As PublishedEventField
Get
'用途
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 支援索引屬性的使用,但不支援新屬性的宣告。
參數
- fieldIndex
型別:System.Int32
The field index.
屬性值
型別:Microsoft.SqlServer.XEvent.Linq.PublishedEventField
A field by ordinal from the fields collection.