This documentation is archived and is not being maintained.

ICustomTypeDescriptor.GetDefaultEvent Method

Returns the default event for this object.

[Visual Basic]
Function GetDefaultEvent() As EventDescriptor
[C#]
EventDescriptor GetDefaultEvent();
[C++]
EventDescriptor* GetDefaultEvent();
[JScript]
function GetDefaultEvent() : EventDescriptor;

Return Value

An EventDescriptor that represents the default event for this object, or a null reference (Nothing in Visual Basic) if this object does not have events.

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, .NET Compact Framework

See Also

ICustomTypeDescriptor Interface | ICustomTypeDescriptor Members | System.ComponentModel Namespace | ICustomTypeDescriptor | TypeDescriptor | EventDescriptor

Show: