This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!
ArrayEditor Methods
The methods of the ArrayEditor class are listed below. For a complete list of ArrayEditor class members, see the ArrayEditor Members topic.
Public:
EditValue (inherited from CollectionEditor) |
Overloaded. [To be supplied.] |
Equals (inherited from Object) |
Determines whether the specified Object is the same instance as the current Object. Subclasses are expected to override this method to support value equality (not reference equality). |
GetEditStyle (inherited from UITypeEditor) |
Overloaded. [To be supplied.] |
GetHashCode (inherited from Object) |
Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table. |
GetPaintValueSupported (inherited from UITypeEditor) |
Overloaded. [To be supplied.] |
GetType (inherited from Object) |
Gets the Type of the Object. |
PaintValue (inherited from UITypeEditor) |
Overloaded. [To be supplied.] |
ToString (inherited from Object) |
Returns a String that represents the current Object. |
Protected:
CanRemoveInstance (inherited from CollectionEditor) |
This will be called when the user tries to remove an instance from the collection that is an original member of the collection. It will not be called when removing instances that were added in this editing session since they are not yet part of the collection. |
CreateCollectionForm (inherited from CollectionEditor) |
Creates a new form to show the current collection. You may inherit from CollectionForm to provide your own form. |
CreateCollectionItemType |
Retrieves the data type this collection contains. 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 CollectionItemType property. Use this method to override the default implementation. |
CreateInstance (inherited from CollectionEditor) |
Creates a new instance of the given collection item type. |
CreateNewItemTypes (inherited from CollectionEditor) |
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. |
DestroyInstance (inherited from CollectionEditor) |
Destroys the given instance of the object. |
Finalize (inherited from Object) |
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by the Garbage Collector (GC). This method may be ignored by the runtime; therefore, necessary cleanup operations should be done elsewhere. |
GetItems |
We implement the getting and setting of items on this collection. |
GetServiceObject (inherited from CollectionEditor) |
Retrieves the requested service, if it is available. |
MemberwiseClone (inherited from Object) |
Creates a shallow copy of the current Object. |
SetItems |
We implement the getting and setting of items on this collection. It should return an instance to replace editValue with, or editValue if there is no need to replace the instance. |
See Also
ArrayEditor Class | System.ComponentModel.Design Namespace