This documentation is archived and is not being maintained.

CollectionEditor.NewItemTypes Property

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

[Visual Basic]
Protected ReadOnly Property NewItemTypes As Type ()
[C#]
protected Type[] NewItemTypes {get;}
[C++]
protected: __property Type* get_NewItemTypes();
[JScript]
protected function get NewItemTypes() : Type[];

Property Value

The types of items that can be created.

Remarks

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.

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

.NET Framework Security: 

See Also

CollectionEditor Class | CollectionEditor Members | System.ComponentModel.Design Namespace

Show: