DesignerCommandSet.GetCommands(String) メソッド

定義

コマンド オブジェクトのコレクションを返します。

public:
 virtual System::Collections::ICollection ^ GetCommands(System::String ^ name);
public virtual System.Collections.ICollection GetCommands (string name);
public virtual System.Collections.ICollection? GetCommands (string name);
abstract member GetCommands : string -> System.Collections.ICollection
override this.GetCommands : string -> System.Collections.ICollection
Public Overridable Function GetCommands (name As String) As ICollection

パラメーター

name
String

DesignerActionListCollection または DesignerVerbCollection を示す、返すコレクションの型。

戻り値

指定された型 (DesignerActionList または DesignerVerb) のコマンド オブジェクトを格納するコレクション。 基本実装では、常に null を返します。

注釈

基本実装では常に が返 nullされますが、プログラマによって提供されるオーバーライドされたバージョンは、 によって name記述された型のコマンド オブジェクトのコレクションを返す必要があります。 プロパティと ActionLists プロパティのVerbs基本実装では、このパラメーターに対して次の値と意味を指定します。

String 説明
"ActionLists" コンポーネントに関連付けられているすべてのスマート タグのコレクションを返します。
"動詞" コンポーネントに関連付けられているすべてのデザイナー動詞のコレクションを返します。

適用対象

こちらもご覧ください