Condividi tramite


Proprietà Item

Returns the EventInfo object from the collection.

Spazio dei nomi  Microsoft.SqlServer.Dts.Runtime
Assembly:  Microsoft.SqlServer.ManagedDTS (in Microsoft.SqlServer.ManagedDTS.dll)

Sintassi

'Dichiarazione
Public ReadOnly Default Property Item ( _
    index As Object _
) As EventInfo
    Get
'Utilizzo
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 supporta l'utilizzo di proprietà indicizzate, ma non la dichiarazione di nuove proprietà.

Parametri

Osservazioni

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.