EventDescriptorCollection コンストラクタ (EventDescriptor[])
アセンブリ: System (system.dll 内)


events パラメータが空の場合、このコンストラクタは空の EventDescriptorCollection クラスを作成します。
このメンバに適用される HostProtectionAttribute 属性の Resources プロパティの値は、Synchronization です。HostProtectionAttribute は、デスクトップ アプリケーション (一般的には、アイコンをダブルクリック、コマンドを入力、またはブラウザに URL を入力して起動するアプリケーション) には影響しません。詳細については、HostProtectionAttribute クラスのトピックまたは「SQL Server プログラミングとホスト保護属性」を参照してください。

button1 のイベントを使用して、新しい EventDescriptorCollection クラスを作成するコード例を次に示します。この例では、button1 がフォーム上でインスタンス化されていることが必要です。

Windows 98, Windows 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
開発プラットフォームの中には、.NET Framework によってサポートされていないバージョンがあります。サポートされているバージョンについては、「システム要件」を参照してください。


EventDescriptorCollection コンストラクタ

名前 | 説明 |
---|---|
EventDescriptorCollection (EventDescriptor[]) | EventDescriptor オブジェクトの配列を指定して、EventDescriptorCollection クラスの新しいインスタンスを初期化します。 .NET Compact Framework によってサポートされています。 |
EventDescriptorCollection (EventDescriptor[], Boolean) | EventDescriptor オブジェクトの配列を指定して、EventDescriptorCollection クラスの新しいインスタンスを初期化します。このコレクションは、オプションで読み取り専用にできます。 |

関連項目
EventDescriptorCollection クラスEventDescriptorCollection メンバ
System.ComponentModel 名前空間
EventDescriptor クラス
TypeDescriptor
EventDescriptorCollection コンストラクタ (EventDescriptor[], Boolean)
アセンブリ: System (system.dll 内)

Dim events As EventDescriptor() Dim readOnly As Boolean Dim instance As New EventDescriptorCollection(events, readOnly)

events パラメータが空の場合、このコンストラクタは空の EventDescriptorCollection クラスを作成します。
![]() |
---|
このクラスに適用される HostProtectionAttribute 属性の Resources プロパティの値は、Synchronization です。HostProtectionAttribute は、デスクトップ アプリケーション (一般的には、アイコンをダブルクリック、コマンドを入力、またはブラウザに URL を入力して起動するアプリケーション) には影響しません。詳細については、HostProtectionAttribute クラスのトピックまたは「SQL Server プログラミングとホスト保護属性」を参照してください。 |

button1 のイベントを使用して、新しい EventDescriptorCollection クラスを作成するコード例を次に示します。この例では、button1 がフォーム上でインスタンス化されていることが必要です。

Windows 98, Windows 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
開発プラットフォームの中には、.NET Framework によってサポートされていないバージョンがあります。サポートされているバージョンについては、「システム要件」を参照してください。


- EventDescriptorCollection コンストラクタのページへのリンク