EventInfos.Item[Object] Property

Definition

Returns the EventInfo object from the collection.

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

Parameters

index
Object

The name, description, ID, or index of the EventInfo object to return.

Property Value

An EventInfo object.

Remarks

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.

Applies to