다음을 통해 공유


DesignerCollection 클래스

디자이너의 컬렉션을 나타냅니다.

네임스페이스: System.ComponentModel.Design
어셈블리: System(system.dll)

구문

‘선언
Public Class DesignerCollection
    Implements ICollection, IEnumerable
‘사용 방법
Dim instance As DesignerCollection
public class DesignerCollection : ICollection, IEnumerable
public ref class DesignerCollection : ICollection, IEnumerable
public class DesignerCollection implements ICollection, IEnumerable
public class DesignerCollection implements ICollection, IEnumerable

설명

이 컬렉션 개체는 디자이너 집합에 대한 참조를 저장할 수 있습니다.

참고

이 클래스에 적용되는 HostProtectionAttribute 특성의 Resources 속성 값은 SharedState입니다. HostProtectionAttribute는 대개 아이콘을 두 번 클릭하거나, 명령을 입력하거나, 브라우저에서 URL을 입력하여 시작되는 데스크톱 응용 프로그램에 영향을 미치지 않습니다. 자세한 내용은 HostProtectionAttribute 클래스나 SQL Server 프로그래밍 및 호스트 보호 특성을 참조하십시오.

예제

다음 코드 예제에서는 지정된 IDesignerHost 개체 배열을 사용하여 초기화된 DesignerCollection을 만듭니다.

' Create a DesignerCollection using a constructor
' that accepts an array of IDesignerHost objects with
' which to initialize the collection.
Dim collection As New DesignerCollection(New IDesignerHost() {designerhost1, designerhost2})
// Create a DesignerCollection using a constructor
// that accepts an array of IDesignerHost objects with 
// which to initialize the array.
DesignerCollection collection = new DesignerCollection( 
    new IDesignerHost[] { designerhost1, designerhost2 } );
// Create a DesignerCollection using a constructor
// that accepts an array of IDesignerHost objects with 
// which to initialize the array.
array<IDesignerHost^>^temp0 = {designerhost1,designerhost2};
DesignerCollection^ collection = gcnew DesignerCollection( temp0 );

.NET Framework 보안

상속 계층 구조

System.Object
  System.ComponentModel.Design.DesignerCollection

스레드로부터의 안전성

이 형식의 모든 public static(Visual Basic의 경우 Shared) 멤버는 스레드로부터 안전합니다. 인터페이스 멤버는 스레드로부터 안전하지 않습니다.

플랫폼

Windows 98, Windows 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

.NET Framework에서 모든 플래폼의 모든 버전을 지원하지는 않습니다. 지원되는 버전의 목록은 시스템 요구 사항을 참조하십시오.

버전 정보

.NET Framework

2.0, 1.1, 1.0에서 지원

참고 항목

참조

DesignerCollection 멤버
System.ComponentModel.Design 네임스페이스