DbConnectionStringBuilder.ICustomTypeDescriptor.GetDefaultEvent Method         
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.EventDescriptorabstract member System.ComponentModel.ICustomTypeDescriptor.GetDefaultEvent : unit -> System.ComponentModel.EventDescriptor
override this.System.ComponentModel.ICustomTypeDescriptor.GetDefaultEvent : unit -> System.ComponentModel.EventDescriptorFunction GetDefaultEvent () As EventDescriptor Implements ICustomTypeDescriptor.GetDefaultEventReturns
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.