NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

CollectionEditor.CreateNewItemTypes

Retrieves the data types this collection editor can create. The default implementation looks inside of the collection for the Item property and returns the returning datatype of the item. Do not call this method directly. Instead, use the NewItemTypes property. Use this method to override the default implementation.

[Visual Basic]
Overridable Protected Function CreateNewItemTypes() As Type ()
[C#]
protected virtual Type[] CreateNewItemTypes();
[C++]
protected: virtual Type* CreateNewItemTypes() [];
[JScript]
protected function CreateNewItemTypes() : Type[];

Return Value

An array of types this collection can contain.

See Also

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