共用方式為


PublishedEvent.FieldList.Item 屬性 (Int32)

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 支援索引屬性的使用,但不支援新屬性的宣告。

參數

屬性值

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

請參閱

參考

PublishedEvent.FieldList 類別

Item 多載

Microsoft.SqlServer.XEvent.Linq 命名空間