CollectionEditor::CollectionForm::CreateInstance Method (Type^)
.NET Framework (current version)
Creates a new instance of the specified collection item type.
Assembly: System.Design (in System.Design.dll)
Parameters
- itemType
-
Type:
System::Type^
The type of item to create.
Return Value
Type: System::Object^A new instance of the specified object, or null if the user chose to cancel the creation of this instance.
This method throws an exception if a new instance cannot be created. If the user chooses to cancel the creation of this instance, this method returns null.
.NET Framework
Available since 1.1
Available since 1.1
Show: