ISelectionService.SetSelectedComponents 메서드
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
지정된 구성 요소를 선택합니다.
오버로드
| 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 포함하지 않는 경우 디자이너에서 최상위 구성 요소를 선택합니다.