Partilhar via


Método AdoDotNetConnectionProperties.ICustomTypeDescriptor.GetEvents

Recupera os eventos para a instância especificada de um componente.

Namespace:  Microsoft.VisualStudio.Data.AdoDotNet
Assembly:  Microsoft.VisualStudio.Data (em Microsoft.VisualStudio.Data.dll)

Sintaxe

'Declaração
Private Function GetEvents As EventDescriptorCollection 
    Implements ICustomTypeDescriptor.GetEvents
EventDescriptorCollection ICustomTypeDescriptor.GetEvents()
private:
virtual EventDescriptorCollection^ GetEvents() sealed = ICustomTypeDescriptor::GetEvents
private abstract GetEvents : unit -> EventDescriptorCollection  
private override GetEvents : unit -> EventDescriptorCollection
JScript não oferece suporte a implementações explícitas da interface.

Valor de retorno

Tipo: EventDescriptorCollection
Retorna um objeto de EventDescriptorCollection que representa os eventos para a instância do componente especificada.

Implementações

ICustomTypeDescriptor.GetEvents

Comentários

Esse método oferece uma implementação do método de GetEvents . Para obter mais informações consulte o método de GetEvents na biblioteca de classes de .NET Framework .

Implementadores podem retornar Empty se nenhuma propriedade é especificado.

Este método nunca deve retornar nulluma referência nula (Nothing no Visual Basic).

Segurança do .NET Framework

Consulte também

Referência

AdoDotNetConnectionProperties Classe

Sobrecargas GetEvents

Namespace Microsoft.VisualStudio.Data.AdoDotNet