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!

UITypeEditor.EditValue (ITypeDescriptorContext, IServiceObjectProvider, Object)

Edits the given object value using the editor style provided by GetEditorStyle. A service provider is provided so that any required editing services can be obtained.

[Visual Basic]
Overloads Overridable Public Function EditValue( _
   ByVal context As ITypeDescriptorContext, _
   ByVal provider As IServiceObjectProvider, _
   ByVal value As Object _
) As Object
[C#]
public virtual object EditValue(
   ITypeDescriptorContext context,
   IServiceObjectProvider provider,
   object value
);
[C++]
public: virtual Object* EditValue(
   ITypeDescriptorContext* context,
   IServiceObjectProvider* provider,
   Object* value
);
[JScript]
public function EditValue(
   context : ITypeDescriptorContext,
   provider : IServiceObjectProvider,
   value : Object
) : Object;

Parameters

context
A type descriptor context that can be used to provide additional context information.
provider
A service provider object through which editing services may be obtained.
value
An instance of the value being edited.

Return Value

The new value of the object. If the value of the object hasn't changed, this should return the same object it was passed.

See Also

UITypeEditor Class | UITypeEditor Members | System.Drawing.Design Namespace | UITypeEditor.EditValue Overload List