Export (0) Print
Expand All

StyleCollectionEditor.CreateInstance Method

Creates a new instance of the specified collection item type.

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

protected override Object CreateInstance(
	Type 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

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0
© 2015 Microsoft