EventDescriptorCollection コンストラクタとは? わかりやすく解説

Weblio 辞書 > コンピュータ > .NET Framework クラス ライブラリ リファレンス > EventDescriptorCollection コンストラクタの意味・解説 

EventDescriptorCollection コンストラクタ (EventDescriptor[])

EventDescriptor オブジェクト配列指定して、EventDescriptorCollection クラス新しインスタンス初期化します。

名前空間: System.ComponentModel
アセンブリ: System (system.dll 内)
構文構文

Public Sub New ( _
    events As EventDescriptor() _
)
Dim events As EventDescriptor()

Dim instance As New EventDescriptorCollection(events)
public EventDescriptorCollection (
    EventDescriptor[] events
)
public:
EventDescriptorCollection (
    array<EventDescriptor^>^ events
)
public EventDescriptorCollection (
    EventDescriptor[] events
)
public function EventDescriptorCollection (
    events : EventDescriptor[]
)

パラメータ

events

コレクションイベント提供する、EventDescriptor 型の配列

解説解説
使用例使用例

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

Dim events As EventDescriptorCollection = TypeDescriptor.GetEvents(button1)
EventDescriptorCollection events = TypeDescriptor.GetEvents(button1);

EventDescriptorCollection^ events = TypeDescriptor::GetEvents( button1 );
EventDescriptorCollection events = TypeDescriptor.GetEvents(button1);
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
EventDescriptorCollection クラス
EventDescriptorCollection メンバ
System.ComponentModel 名前空間
EventDescriptor クラス
TypeDescriptor

EventDescriptorCollection コンストラクタ

EventDescriptorCollection クラス新しインスタンス初期化します。
オーバーロードの一覧オーバーロードの一覧

名前 説明
EventDescriptorCollection (EventDescriptor[]) EventDescriptor オブジェクト配列指定してEventDescriptorCollection クラス新しインスタンス初期化します。

.NET Compact Framework によってサポートされています。

EventDescriptorCollection (EventDescriptor[], Boolean) EventDescriptor オブジェクト配列指定してEventDescriptorCollection クラス新しインスタンス初期化します。このコレクションは、オプション読み取り専用できます
参照参照

関連項目

EventDescriptorCollection クラス
EventDescriptorCollection メンバ
System.ComponentModel 名前空間
EventDescriptor クラス
TypeDescriptor

EventDescriptorCollection コンストラクタ (EventDescriptor[], Boolean)

メモ : このコンストラクタは、.NET Framework version 2.0新しく追加されたものです。

EventDescriptor オブジェクト配列指定して、EventDescriptorCollection クラス新しインスタンス初期化します。このコレクションは、オプション読み取り専用できます

名前空間: System.ComponentModel
アセンブリ: System (system.dll 内)
構文構文

Public Sub New ( _
    events As EventDescriptor(), _
    readOnly As Boolean
 _
)
Dim events As EventDescriptor()
Dim readOnly As Boolean

Dim instance As New EventDescriptorCollection(events,
 readOnly)
public EventDescriptorCollection (
    EventDescriptor[] events,
    bool readOnly
)
public:
EventDescriptorCollection (
    array<EventDescriptor^>^ events, 
    bool readOnly
)
public EventDescriptorCollection (
    EventDescriptor[] events, 
    boolean readOnly
)
public function EventDescriptorCollection (
    events : EventDescriptor[], 
    readOnly : boolean
)

パラメータ

events

コレクションイベント提供する、EventDescriptor 型の配列

readOnly

コレクション読み取り専用指定する場合trueそれ以外場合false

解説解説
使用例使用例

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

Dim events As EventDescriptorCollection = TypeDescriptor.GetEvents(button1)
EventDescriptorCollection events = TypeDescriptor.GetEvents(button1);

EventDescriptorCollection^ events = TypeDescriptor::GetEvents( button1 );
EventDescriptorCollection events = TypeDescriptor.GetEvents(button1);
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
EventDescriptorCollection クラス
EventDescriptorCollection メンバ
System.ComponentModel 名前空間
EventDescriptor クラス
TypeDescriptor



英和和英テキスト翻訳>> Weblio翻訳
英語⇒日本語日本語⇒英語
  

辞書ショートカット

すべての辞書の索引

「EventDescriptorCollection コンストラクタ」の関連用語

EventDescriptorCollection コンストラクタのお隣キーワード
検索ランキング

   

英語⇒日本語
日本語⇒英語
   



EventDescriptorCollection コンストラクタのページの著作権
Weblio 辞書 情報提供元は 参加元一覧 にて確認できます。

   
日本マイクロソフト株式会社日本マイクロソフト株式会社
© 2025 Microsoft.All rights reserved.

©2025 GRAS Group, Inc.RSS