DataConnectionProperties.ICustomTypeDescriptor.GetDefaultEvent Method
Retrieves the default event for the specified object.
Namespace: Microsoft.VisualStudio.Data.Framework
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 DataConnectionProperties
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
DataConnectionProperties Class