.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%]

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, 3.5, 3.0, 2.0, 1.1, 1.0
.NET Framework Security
Platforms

Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.