DesignerActionService.GetComponentDesignerActions メソッド

定義

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

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 取得されます。

適用対象

こちらもご覧ください