Edit

Share via


DbConnectionStringBuilder.ICustomTypeDescriptor.GetDefaultEvent Method

Definition

Returns the default event for this instance of a component.

 virtual System::ComponentModel::EventDescriptor ^ System.ComponentModel.ICustomTypeDescriptor.GetDefaultEvent() = System::ComponentModel::ICustomTypeDescriptor::GetDefaultEvent;
[System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("The built-in EventDescriptor implementation uses Reflection which requires unreferenced code.")]
System.ComponentModel.EventDescriptor ICustomTypeDescriptor.GetDefaultEvent();
System.ComponentModel.EventDescriptor ICustomTypeDescriptor.GetDefaultEvent();
[<System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("The built-in EventDescriptor implementation uses Reflection which requires unreferenced code.")>]
abstract member System.ComponentModel.ICustomTypeDescriptor.GetDefaultEvent : unit -> System.ComponentModel.EventDescriptor
override this.System.ComponentModel.ICustomTypeDescriptor.GetDefaultEvent : unit -> System.ComponentModel.EventDescriptor
abstract member System.ComponentModel.ICustomTypeDescriptor.GetDefaultEvent : unit -> System.ComponentModel.EventDescriptor
override this.System.ComponentModel.ICustomTypeDescriptor.GetDefaultEvent : unit -> System.ComponentModel.EventDescriptor
Function GetDefaultEvent () As EventDescriptor Implements ICustomTypeDescriptor.GetDefaultEvent

Returns

An EventDescriptor that represents the default event for this object, or null if this object does not have events.

Implements

Attributes

Remarks

This member is an explicit interface member implementation. It can be used only when the DbConnectionStringBuilder instance is cast to an ICustomTypeDescriptor interface.

For a description of this member, see GetDefaultEvent.

Applies to

See also