DesignerCollection クラス
アセンブリ: System (system.dll 内)


このコレクション オブジェクトは、一連のデザイナへの参照を格納できます。
![]() |
---|
このクラスに適用される 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 );


System.ComponentModel.Design.DesignerCollection


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 によってサポートされていないバージョンがあります。サポートされているバージョンについては、「システム要件」を参照してください。


- DesignerCollection クラスのページへのリンク