BindUITypeEditor.EditValue Method

Definition

Edits the value of the specified object using the editor style indicated by GetEditStyle.

public:
 override System::Object ^ EditValue(System::ComponentModel::ITypeDescriptorContext ^ context, IServiceProvider ^ serviceProvider, System::Object ^ value);
public override object EditValue (System.ComponentModel.ITypeDescriptorContext context, IServiceProvider serviceProvider, object value);
override this.EditValue : System.ComponentModel.ITypeDescriptorContext * IServiceProvider * obj -> obj
Public Overrides Function EditValue (context As ITypeDescriptorContext, serviceProvider As IServiceProvider, value As Object) As Object

Parameters

context
ITypeDescriptorContext

An ITypeDescriptorContext that can be used to gain additional context information.

serviceProvider
IServiceProvider

An IServiceProvider that the editor can use to obtain services.

value
Object

The value of the object to edit.

Returns

The new value of the object.

Exceptions

serviceProvider contains a null reference (Nothing in Visual Basic).

Applies to