StyleCollectionEditor::CreateInstance Method (Type^)

 

Creates a new instance of the specified collection item type.

Namespace:   System.Web.UI.Design.WebControls
Assembly:  System.Design (in System.Design.dll)

protected:
virtual Object^ CreateInstance(
	Type^ itemType
) override

Parameters

itemType
Type: System::Type^

The type to create an instance of.

Return Value

Type: System::Object^

A collection of the specified type.

Notes to Implementers:

The CreateInstance method should throw an exception if it cannot create a new instance of the specified type.

.NET Framework
Available since 2.0
Return to top
Show: