DesignerActionService.GetComponentActions 메서드

정의

구성 요소에 연결된 스마트 태그 항목 목록의 컬렉션을 반환합니다.

오버로드

GetComponentActions(IComponent)

구성 요소에 연결된 스마트 태그 항목 목록의 컬렉션을 반환합니다.

GetComponentActions(IComponent, ComponentActionsType)

구성 요소에 연결된 특정 형식의 스마트 태그 항목 목록에 대한 컬렉션을 반환합니다.

GetComponentActions(IComponent, ComponentActionsType)

구성 요소와 연결된 지정된 형식의 디자이너 작업 항목 목록 컬렉션을 반환합니다.

GetComponentActions(IComponent)

구성 요소에 연결된 스마트 태그 항목 목록의 컬렉션을 반환합니다.

public:
 System::ComponentModel::Design::DesignerActionListCollection ^ GetComponentActions(System::ComponentModel::IComponent ^ component);
public System.ComponentModel.Design.DesignerActionListCollection GetComponentActions (System.ComponentModel.IComponent component);
member this.GetComponentActions : System.ComponentModel.IComponent -> System.ComponentModel.Design.DesignerActionListCollection
Public Function GetComponentActions (component As IComponent) As DesignerActionListCollection

매개 변수

component
IComponent

스마트 태그에 연결된 구성 요소입니다.

반환

지정된 구성 요소에 대한 스마트 태그의 컬렉션입니다.

예외

comp이(가) null인 경우

설명

GetComponentActions 를 호출 하는 것과 같습니다는 GetComponentActions(IComponent, ComponentActionsType) 메서드를 사용 하는 type 의 매개 변수 All합니다. 따라서 반환 된 컬렉션에는 스마트 태그의 밀어넣기 및 끌어오기 목록 모두 포함 됩니다.

반환 된 DesignerActionListCollection 통해 추가 된 항목 목록의 합집합 합니다 Add 메서드 및 목록에서 가져온는 DesignerCommandSet 구성 요소의 사이트에서 가져온 인스턴스.

추가 정보

적용 대상

GetComponentActions(IComponent, ComponentActionsType)

구성 요소에 연결된 특정 형식의 스마트 태그 항목 목록에 대한 컬렉션을 반환합니다.

public:
 virtual System::ComponentModel::Design::DesignerActionListCollection ^ GetComponentActions(System::ComponentModel::IComponent ^ component, System::ComponentModel::Design::ComponentActionsType type);
public virtual System.ComponentModel.Design.DesignerActionListCollection GetComponentActions (System.ComponentModel.IComponent component, System.ComponentModel.Design.ComponentActionsType type);
abstract member GetComponentActions : System.ComponentModel.IComponent * System.ComponentModel.Design.ComponentActionsType -> System.ComponentModel.Design.DesignerActionListCollection
override this.GetComponentActions : System.ComponentModel.IComponent * System.ComponentModel.Design.ComponentActionsType -> System.ComponentModel.Design.DesignerActionListCollection
Public Overridable Function GetComponentActions (component As IComponent, type As ComponentActionsType) As DesignerActionListCollection

매개 변수

component
IComponent

스마트 태그에 연결된 구성 요소입니다.

type
ComponentActionsType

연결된 스마트 태그를 필터링하는 데 사용할 ComponentActionsType입니다.

반환

지정된 구성 요소에 대한 지정된 형식의 스마트 태그 컬렉션입니다.

예외

comp이(가) null인 경우

설명

이 버전의 오버 로드 된 GetComponentActions 방법에 대 한 필터는 type 매개 변수를 다음 값 중 하나일 수 있습니다.

Description
All 연결 된 모든 스마트 태그입니다.
Component 끌어오기 모델 스마트 태그만 지정 합니다.
Service 밀어넣기 모델 스마트 태그만 지정 합니다.

연결된 된 디자이너 구성 요소에 대 한 끌어오기 모델 스마트 태그 목록을 제공 하지 않는 경우 해당 GetComponentActions 메서드를 디자이너의 디자인 타임에 바로 가기 메뉴 항목을 대신 사용 합니다 Verbs 속성입니다.

추가 정보

적용 대상

GetComponentActions(IComponent, ComponentActionsType)

구성 요소와 연결된 지정된 형식의 디자이너 작업 항목 목록 컬렉션을 반환합니다.

public:
 virtual System::ComponentModel::Design::DesignerActionListCollection ^ GetComponentActions(System::ComponentModel::IComponent ^ component, System::Windows::Forms::Design::ComponentActionsType type);
public virtual System.ComponentModel.Design.DesignerActionListCollection GetComponentActions (System.ComponentModel.IComponent component, System.Windows.Forms.Design.ComponentActionsType type);
abstract member GetComponentActions : System.ComponentModel.IComponent * System.Windows.Forms.Design.ComponentActionsType -> System.ComponentModel.Design.DesignerActionListCollection
override this.GetComponentActions : System.ComponentModel.IComponent * System.Windows.Forms.Design.ComponentActionsType -> System.ComponentModel.Design.DesignerActionListCollection
Public Overridable Function GetComponentActions (component As IComponent, type As ComponentActionsType) As DesignerActionListCollection

매개 변수

component
IComponent

DesignerActions가 연결된 구성 요소입니다.

type
ComponentActionsType

ComponentActionsType 연결된 디자이너 작업을 필터링할 입니다.

반환

지정된 구성 요소에 대해 지정된 형식의 디자이너 작업 컬렉션입니다.

예외

componentnull입니다.

설명

이 버전의 오버 로드 된 GetComponentActions 방법에 대 한 필터는 type 매개 변수를 다음 값 중 하나일 수 있습니다.

Description
All 연결된 모든 디자이너 작업입니다.
Component 풀 모델 디자이너 작업만 수행합니다.
Service 푸시 모델 디자이너 작업만 수행합니다.

구성 요소에 연결된 디자이너가 끌어오기 모델 디자이너 작업 목록을 GetComponentActions 제공하지 않는 경우 메서드는 대신 속성에서 Verbs 디자이너의 디자인 타임 바로 가기 메뉴 항목을 사용합니다.

적용 대상