DesignerCommandSet.GetCommands(String) 메서드

정의

명령 개체의 컬렉션을 반환합니다.

public:
 virtual System::Collections::ICollection ^ GetCommands(System::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

반환할 컬렉션의 형식으로, a 또는 a DesignerActionListCollectionDesignerVerbCollection를 나타냅니다.

반품

명령 개체의 지정된 형식(또는 DesignerActionListDesignerVerb )을 포함하는 컬렉션입니다. 기본 구현은 항상 .를 반환합니다 null.

설명

기본 구현은 항상 반환 null되지만 프로그래머가 제공하는 재정의된 버전은 설명된 name형식의 명령 개체 컬렉션을 반환해야 합니다. 및 ActionLists 속성의 Verbs 기본 구현은 이 매개 변수에 대해 다음 값과 의미를 지정합니다.

문자열 Meaning
"ActionLists" 구성 요소와 연결된 모든 스마트 태그의 컬렉션을 반환합니다.
"동사" 구성 요소와 연결된 모든 디자이너 동사의 컬렉션을 반환합니다.

적용 대상

추가 정보