DesignerActionService.GetComponentDesignerActions メソッド

定義

コンポーネントに関連付けられているプル モデルのスマート タグを取得します。

C#
protected virtual void GetComponentDesignerActions (System.ComponentModel.IComponent component, System.ComponentModel.Design.DesignerActionListCollection actionLists);

パラメーター

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

こちらもご覧ください