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

 

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

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

public:
virtual Object^ EditValue(
	ITypeDescriptorContext^ typeDescriptorContext,
	IServiceProvider^ serviceProvider,
	Object^ value
) override

Parameters

typeDescriptorContext
Type: System.ComponentModel::ITypeDescriptorContext^

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

serviceProvider
Type: System::IServiceProvider^

An IServiceProvider that the 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.

Exception Condition
ArgumentNullException

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

Exception

GetService returns a null reference (Nothing) when it attempts to obtain the type provider.

.NET Framework
Available since 3.0
Return to top
Show: