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]访问集合中的指定元素。 Contains如果返回false,此属性将引发异常。 在 C# 中,此属性是 EventInfos 类的索引器。

适用于