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!

RelationsCollectionEditor Methods

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

Public:

EditValue Takes the value returned from valueAccess.getValue() and modifies or replaces the value, passing the result into valueAccess.setValue(). This is where an editor can launch a modal dialog or create a drop down editor to allow the user to modify the value. Host assistance in presenting UI to the user can be found through the valueAccess.getService function.
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).
GetCreationBundle (inherited from ValueEditor) [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.
GetSubProperties (inherited from ValueEditor) [To be supplied.]
GetTextFromValue (inherited from OldCollectionEditor) Converts the given value to a text string. The return value may be null if the value cannot be converted to a text string.
GetType (inherited from Object) Gets the Type of the Object.
GetValueFromSubPropertyValues (inherited from ValueEditor) [To be supplied.]
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:

CreateNewInstance [To be supplied.]
DestroyNewInstance (inherited from OldCollectionEditor) [To be supplied.]
DestroyOldInstance (inherited from OldCollectionEditor) Called every time user clicks Remove button for the item which existed in initial Collection. Supposed to check if the item can be removed from collection. If item cannot be removed ArgumentException(<reasonString>) should be thrown.
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

RelationsCollectionEditor Class | System.Data.Design Namespace