語言

EventInfos.Item[Object] 屬性

定義

從集合中回傳 EventInfo 物件。

public:
 property Microsoft::SqlServer::Dts::Runtime::EventInfo ^ default[System::Object ^] { Microsoft::SqlServer::Dts::Runtime::EventInfo ^ get(System::Object ^ index); };
public Microsoft.SqlServer.Dts.Runtime.EventInfo this[object index] { get; }
member this.Item(obj) : Microsoft.SqlServer.Dts.Runtime.EventInfo
Default Public ReadOnly Property Item(index As Object) As EventInfo

參數

index
Object

要回傳物件的 EventInfo 名稱、描述、ID 或索引。

屬性值

EventInfo 物件。

備註

如果呼叫方法 Contains 返回 true,你可以使用語法 EventInfos[index]來存取集合中指定的元素。 若返回 Containsfalse,則此屬性會拋出例外。 在 C# 中,這個屬性就是類別的 EventInfos 索引器。

適用於