Compartir a través de


AdoDotNetConnectionProperties.ICustomTypeDescriptor.GetDefaultEvent Method

Retrieves the default event for the specified object.

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

Syntax

'Declaration
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 does not support explicit interface implementations.

Return Value

Type: System.ComponentModel.EventDescriptor
An EventDescriptor representing the default event for the specified object, or nulla null reference (Nothing in Visual Basic) if this object does not have events.

Implements

ICustomTypeDescriptor.GetDefaultEvent()

Remarks

This method provides an implementation of the GetDefaultEvent method. For more information, see the GetDefaultEvent method in the .NET Framework class library.

.NET Framework Security

See Also

Reference

AdoDotNetConnectionProperties Class

Microsoft.VisualStudio.Data.Framework.AdoDotNet Namespace