EventInfos.Item 屬性
Returns the EventInfo object from the collection.
命名空間: Microsoft.SqlServer.Dts.Runtime
組件: Microsoft.SqlServer.ManagedDTS (在 Microsoft.SqlServer.ManagedDTS.dll 中)
語法
'宣告
Public ReadOnly Default Property Item ( _
index As Object _
) As EventInfo
Get
'用途
Dim instance As EventInfos
Dim index As Object
Dim value As EventInfo
value = instance(index)
public EventInfo this[
Object index
] { get; }
public:
property EventInfo^ default[Object^ index] {
EventInfo^ get (Object^ index);
}
member Item : EventInfo
JScript 支援索引屬性的使用,但不支援新屬性的宣告。
參數
- index
型別:System.Object
The name, description, ID, or index of the EventInfo object to return.
屬性值
型別:Microsoft.SqlServer.Dts.Runtime.EventInfo
An EventInfo object.
備註
If the call to Contains method returns true, you can access the specified element in the collection by using the syntax EventInfos[index]. If the Contains returns false, this property throws an exception. In C#, this property is the indexer for the EventInfos class.