Partilhar via


Método AdoDotNetConnectionProperties.ICustomTypeDescriptor.GetDefaultEvent

Recupera o evento padrão para o objeto especificado.

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

Sintaxe

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

Valor de retorno

Tipo: EventDescriptor
EventDescriptor que representam o evento padrão para o objeto especificado, ou nulluma referência nula (Nothing no Visual Basic) se este objeto não tem eventos.

Implementações

ICustomTypeDescriptor.GetDefaultEvent

Comentários

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

Segurança do .NET Framework

Consulte também

Referência

AdoDotNetConnectionProperties Classe

Namespace Microsoft.VisualStudio.Data.Framework.AdoDotNet