ICustomTypeDescriptor.GetDefaultEvent Método

Definición

Devuelve el evento predeterminado para esta instancia de un componente.

public:
 System::ComponentModel::EventDescriptor ^ GetDefaultEvent();
[System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("The built-in EventDescriptor implementation uses Reflection which requires unreferenced code.")]
public System.ComponentModel.EventDescriptor? GetDefaultEvent();
public System.ComponentModel.EventDescriptor GetDefaultEvent();
[<System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("The built-in EventDescriptor implementation uses Reflection which requires unreferenced code.")>]
abstract member GetDefaultEvent : unit -> System.ComponentModel.EventDescriptor
abstract member GetDefaultEvent : unit -> System.ComponentModel.EventDescriptor
Public Function GetDefaultEvent () As EventDescriptor

Devoluciones

que EventDescriptor representa el evento predeterminado para este objeto o null si este objeto no tiene eventos.

Atributos

Se aplica a

Consulte también