Linguaggio

EventInfos.Item[Object] Proprietà

Definizione

Restituisce l'oggetto EventInfo dalla collezione.

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

Parametri

index
Object

Il nome, la descrizione, l'ID o l'indice dell'oggetto EventInfo da restituire.

Valore della proprietà

Oggetto EventInfo.

Commenti

Se la chiamata al Contains metodo restituisce true, puoi accedere all'elemento specificato nella collezione usando la sintassi EventInfos[index]. Se restituisce Containsfalse, questa proprietà crea un'eccezione. In C# questa proprietà è l'indicizzatore per la EventInfos classe .

Si applica a