.NET Framework Class Library
CollectionEditorEditValue Method (ITypeDescriptorContext, IServiceProvider, Object)

Edits the value of the specified object using the specified service provider and context.

Namespace:   System.ComponentModel.Design
Assembly:  System.Design (in System.Design.dll)
Syntax
Public Overrides Function EditValue ( _
	context As [%$TOPIC/t15d5793_en-us_VS_110_1_0_0_0_0%], _
	provider As [%$TOPIC/t15d5793_en-us_VS_110_1_0_0_0_1%], _
	value As [%$TOPIC/t15d5793_en-us_VS_110_1_0_0_0_2%] _
) As [%$TOPIC/t15d5793_en-us_VS_110_1_0_0_0_3%]
public override [%$TOPIC/t15d5793_en-us_VS_110_1_0_1_0_0%] EditValue(
	[%$TOPIC/t15d5793_en-us_VS_110_1_0_1_0_1%] context,
	[%$TOPIC/t15d5793_en-us_VS_110_1_0_1_0_2%] provider,
	[%$TOPIC/t15d5793_en-us_VS_110_1_0_1_0_3%] value
)
public:
virtual [%$TOPIC/t15d5793_en-us_VS_110_1_0_2_0_0%]^ EditValue(
	[%$TOPIC/t15d5793_en-us_VS_110_1_0_2_0_1%]^ context, 
	[%$TOPIC/t15d5793_en-us_VS_110_1_0_2_0_2%]^ provider, 
	[%$TOPIC/t15d5793_en-us_VS_110_1_0_2_0_3%]^ value
) override
abstract EditValue : 
        context:[%$TOPIC/t15d5793_en-us_VS_110_1_0_3_0_0%] * 
        provider:[%$TOPIC/t15d5793_en-us_VS_110_1_0_3_0_1%] * 
        value:[%$TOPIC/t15d5793_en-us_VS_110_1_0_3_0_2%] -> [%$TOPIC/t15d5793_en-us_VS_110_1_0_3_0_3%]  
override EditValue : 
        context:[%$TOPIC/t15d5793_en-us_VS_110_1_0_3_0_4%] * 
        provider:[%$TOPIC/t15d5793_en-us_VS_110_1_0_3_0_5%] * 
        value:[%$TOPIC/t15d5793_en-us_VS_110_1_0_3_0_6%] -> [%$TOPIC/t15d5793_en-us_VS_110_1_0_3_0_7%]
public override function EditValue(
	context : [%$TOPIC/t15d5793_en-us_VS_110_1_0_4_0_0%], 
	provider : [%$TOPIC/t15d5793_en-us_VS_110_1_0_4_0_1%], 
	value : [%$TOPIC/t15d5793_en-us_VS_110_1_0_4_0_2%]
) : [%$TOPIC/t15d5793_en-us_VS_110_1_0_4_0_3%]

Parameters

context
Type: System.ComponentModelITypeDescriptorContext

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

provider
Type: SystemIServiceProvider

A service provider object through which editing services can be obtained.

value
Type: SystemObject

The object to edit the value of.

Return Value

Type: SystemObject
The new value of the object. If the value of the object has not changed, this should return the same object it was passed.
Exceptions
ExceptionCondition
CheckoutException

An attempt to check out a file that is checked into a source code management program did not succeed.

Version Information

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0, 1.1