次の方法で共有


ICustomTypeDescriptor.GetDefaultEvent メソッド

このオブジェクトの既定のイベントを返します。

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

戻り値

このオブジェクトの既定のイベントを表す EventDescriptor 。オブジェクトにイベントがない場合は null 参照 (Visual Basic では Nothing) 。

必要条件

プラットフォーム: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 ファミリ, .NET Compact Framework - Windows CE .NET

参照

ICustomTypeDescriptor インターフェイス | ICustomTypeDescriptor メンバ | System.ComponentModel 名前空間 | ICustomTypeDescriptor | TypeDescriptor | EventDescriptor