NDoc 1.3.1 SDK |

# TextEditor.EditValue Method (ITypeDescriptorContext, IServiceProvider, Object)

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

    [Visual Basic]
    Overrides  OverloadsPublic Function EditValue( _
       ByVal context As ITypeDescriptorContext, _
       ByVal provider As IServiceProvider, _
       ByVal value As Object _
    ) As Object
    [C#]
    public override object EditValue(
       ITypeDescriptorContext context,
       IServiceProvider provider,
       object value
    );
    [C++]
    public: Object* EditValue(
       ITypeDescriptorContext* context,
       IServiceProvider* provider,
       Object* value
    );
    [JScript]
    public override function EditValue(
       ITypeDescriptorContext context,
       IServiceProvider provider,
       Object value
    ): Object;

#### Parameters

context
  An ITypeDescriptorContext that can be used to gain additional context information.
provider
  An IServiceProvider that this editor can use to obtain services.
value
  The object to edit.

#### Return Value

The new value of the object.

#### See Also

TextEditor Class | NDoc.Core.PropertyGridUI Namespace | TextEditor.EditValue Overload List