DesignerCollection Constructors

Definition

Initializes a new instance of the DesignerCollection class.

Overloads

DesignerCollection(IList)

Initializes a new instance of the DesignerCollection class that contains the specified set of designers.

DesignerCollection(IDesignerHost[])

Initializes a new instance of the DesignerCollection class that contains the specified designers.

DesignerCollection(IList)

Initializes a new instance of the DesignerCollection class that contains the specified set of designers.

public:
 DesignerCollection(System::Collections::IList ^ designers);
public DesignerCollection (System.Collections.IList designers);
new System.ComponentModel.Design.DesignerCollection : System.Collections.IList -> System.ComponentModel.Design.DesignerCollection
Public Sub New (designers As IList)

Parameters

designers
IList

A list that contains the collection of designers to add.

Security

NamedPermissionSet
for full access to system resources. Demand values: LinkDemand, InheritanceDemand. Associated state:

DesignerCollection(IDesignerHost[])

Initializes a new instance of the DesignerCollection class that contains the specified designers.

public:
 DesignerCollection(cli::array <System::ComponentModel::Design::IDesignerHost ^> ^ designers);
public DesignerCollection (System.ComponentModel.Design.IDesignerHost[] designers);
new System.ComponentModel.Design.DesignerCollection : System.ComponentModel.Design.IDesignerHost[] -> System.ComponentModel.Design.DesignerCollection
Public Sub New (designers As IDesignerHost())

Parameters

designers
IDesignerHost[]

An array of IDesignerHost objects to store.

Remarks

Creates a new designer collection from an array of designers. The collection does not clone the array.

Security

NamedPermissionSet
for full access to system resources. Demand values: LinkDemand, InheritanceDemand. Associated state:

Applies to