Share via


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
'Usage
Dim instance As AdoDotNetConnectionProperties 
Dim returnValue As EventDescriptor 

returnValue = CType(instance, ICustomTypeDescriptor).GetDefaultEvent()
EventDescriptor ICustomTypeDescriptor.GetDefaultEvent()
private:
virtual EventDescriptor^ GetDefaultEvent() sealed = ICustomTypeDescriptor::GetDefaultEvent
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

AdoDotNetConnectionProperties Members

Microsoft.VisualStudio.Data.Framework.AdoDotNet Namespace