ISelectionService.SetSelectedComponents 메서드

정의

지정된 구성 요소를 선택합니다.

오버로드

SetSelectedComponents(ICollection)

지정된 구성 요소의 컬렉션을 선택합니다.

SetSelectedComponents(ICollection, SelectionTypes)

지정된 선택 형식과 일치하는 지정된 구성 요소의 컬렉션에서 구성 요소를 선택합니다.

SetSelectedComponents(ICollection)

지정된 구성 요소의 컬렉션을 선택합니다.

public:
 void SetSelectedComponents(System::Collections::ICollection ^ components);
public void SetSelectedComponents (System.Collections.ICollection components);
public void SetSelectedComponents (System.Collections.ICollection? components);
abstract member SetSelectedComponents : System.Collections.ICollection -> unit
Public Sub SetSelectedComponents (components As ICollection)

매개 변수

components
ICollection

선택할 구성 요소의 컬렉션입니다.

설명

배열이 이거나 null 구성 요소를 SetSelectedComponents 포함하지 않는 경우 디자이너에서 최상위 구성 요소를 선택합니다.

적용 대상

SetSelectedComponents(ICollection, SelectionTypes)

지정된 선택 형식과 일치하는 지정된 구성 요소의 컬렉션에서 구성 요소를 선택합니다.

public:
 void SetSelectedComponents(System::Collections::ICollection ^ components, System::ComponentModel::Design::SelectionTypes selectionType);
public void SetSelectedComponents (System.Collections.ICollection components, System.ComponentModel.Design.SelectionTypes selectionType);
public void SetSelectedComponents (System.Collections.ICollection? components, System.ComponentModel.Design.SelectionTypes selectionType);
abstract member SetSelectedComponents : System.Collections.ICollection * System.ComponentModel.Design.SelectionTypes -> unit
Public Sub SetSelectedComponents (components As ICollection, selectionType As SelectionTypes)

매개 변수

components
ICollection

선택할 구성 요소의 컬렉션입니다.

selectionType
SelectionTypes

SelectionTypes 열거형의 값입니다. 기본값은 Normal입니다.

설명

배열이 이거나 null 구성 요소를 SetSelectedComponents 포함하지 않는 경우 디자이너에서 최상위 구성 요소를 선택합니다.

추가 정보

적용 대상