ObjectSelectorEditor::EditValue Method (ITypeDescriptorContext^, IServiceProvider^, Object^)

 

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

Namespace:   System.ComponentModel.Design
Assembly:  System.Design (in System.Design.dll)

public:
virtual Object^ EditValue(
	ITypeDescriptorContext^ context,
	IServiceProvider^ provider,
	Object^ value
) override

Parameters

context
Type: System.ComponentModel::ITypeDescriptorContext^

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

provider
Type: System::IServiceProvider^

An IServiceProvider that this editor can use to obtain services.

value
Type: System::Object^

The object to edit.

Return Value

Type: System::Object^

The new value of the object. If the value of the object has not changed, the method should return the same object it was passed.

A service provider is provided so that the editor can obtain any required services.

.NET Framework
Available since 1.1
Return to top
Show: