Creates a new instance of the given collection item type.
[Visual Basic] Overridable Protected Function CreateInstance( _ ByVal itemType As Type _ ) As Object [C#] protected virtual object CreateInstance( Type itemType ); [C++] protected: virtual Object* CreateInstance( Type* itemType ); [JScript] protected function CreateInstance( itemType : Type ) : Object;
A new instance of the given object. This may throw an exception if a new instance could not be created. If the user chose to cancel the creation of this instance, this method may return null.
CollectionEditor Class | CollectionEditor Members | System.ComponentModel.Design Namespace