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!

OldArrayEditor Methods

The methods of the OldArrayEditor class are listed below. For a complete list of OldArrayEditor class members, see the OldArrayEditor Members topic.

Public:

CreateNewInstance Creates a new instance of an element. The index is solely for assisting in coming up with default text.
EditValue This launches the ArrayDialog. This is a base function of ValueEditor.
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).
GetBaseName Retrieves the base name of the type of the elements being edited.
GetCreationBundle (inherited from ValueEditor) [To be supplied.]
GetDisplayText Retrieves the text that should be displayed in the ArrayDialog for a given element.
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.
GetSubProperties Returns the logical sub properties of a given value. These sub properties represent values that together compose the given value. Each of these values can be edited by the user, and GetValueFromSubPropertyValues() will be called to see if a new set of values can compose a new value of this type. This method will only be called if the StyleProperties style is present.
GetTextFromValue (inherited from ValueEditor) [To be supplied.]
GetType (inherited from Object) Gets the Type of the Object.
GetTypeDescription Retrieves a visible description of the array type.
GetValueFromSubPropertyValues Attempts to compose a value of this editor's type from the given array of values. If it is successful, it returns the composed value, otherwise it returns null. This array of values is usually a modified version of the values contained in the sub properties returned by GetSubProperties(). This method will only be called if the StyleProperties style is present.
GetValueFromText (inherited from ValueEditor) [To be supplied.]
IsValid (inherited from ValueEditor) [To be supplied.]
ToString (inherited from Object) Returns a String that represents the current Object.

Protected:

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.
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.

See Also

OldArrayEditor Class | System.ComponentModel.Design Namespace