CollectionEditor.NewItemTypes Property

Gets the available types of items that can be created for this collection.

Namespace: System.ComponentModel.Design
Assembly: System.Design (in system.design.dll)

protected Type[] NewItemTypes { get; }
/** @property */
protected Type[] get_NewItemTypes ()

protected function get NewItemTypes () : Type[]

Not applicable.

Property Value

The types of items that can be created.

This property indicates the data types that can be added to the collection. By default, this returns a single type of CollectionItemType. If more than one type is returned, the collection editor UI provides a way to choose which item type to create.

Windows 98, Windows Server 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

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0, 1.1, 1.0

Community Additions

ADD
Show: