CollectionEditor::NewItemTypes Property

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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:
property array<Type^>^ NewItemTypes {
	array<Type^>^ get();
}

Property Value

Type: array<System::Type^>^

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.

.NET Framework
Available since 1.1
Return to top
Show: