DesignerActionService.GetComponentDesignerActions メソッド
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
コンポーネントに関連付けられているプル モデルのスマート タグを取得します。
protected:
virtual void GetComponentDesignerActions(System::ComponentModel::IComponent ^ component, System::ComponentModel::Design::DesignerActionListCollection ^ actionLists);
protected virtual void GetComponentDesignerActions (System.ComponentModel.IComponent component, System.ComponentModel.Design.DesignerActionListCollection actionLists);
abstract member GetComponentDesignerActions : System.ComponentModel.IComponent * System.ComponentModel.Design.DesignerActionListCollection -> unit
override this.GetComponentDesignerActions : System.ComponentModel.IComponent * System.ComponentModel.Design.DesignerActionListCollection -> unit
Protected Overridable Sub GetComponentDesignerActions (component As IComponent, actionLists As DesignerActionListCollection)
- component
- IComponent
スマート タグが関連付けられているコンポーネント。
- actionLists
- DesignerActionListCollection
関連付けられているスマート タグの追加先となるコレクション。
一方または両方のパラメーターが null
です。
メソッドは GetComponentDesignerActions 、 メソッドの GetComponentActions ヘルパー メソッドです。
GetComponentDesignerActions は 型 Componentのプルモデル スマート タグを検索し、指定された actionLists
コレクションに追加します。
コンポーネントの開発者がデザイナーの プロパティを使用して ActionLists スマート タグのコレクションを明示的に指定しない場合、このメソッドはデザイン時のショートカット メニュー エントリを再利用します。このエントリはデザイナーの プロパティを通じて Verbs 取得されます。
製品 | バージョン |
---|---|
.NET Framework | 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
Windows Desktop | 3.0, 3.1, 5, 6, 7, 8, 9 |
.NET に関するフィードバック
.NET はオープンソース プロジェクトです。 フィードバックを提供するにはリンクを選択します。