This documentation is archived and is not being maintained.

CollectionEditor.EditValue 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)

public override Object EditValue (
	ITypeDescriptorContext context,
	IServiceProvider provider,
	Object value
)
public Object EditValue (
	ITypeDescriptorContext context, 
	IServiceProvider provider, 
	Object value
)
public override function EditValue (
	context : ITypeDescriptorContext, 
	provider : IServiceProvider, 
	value : Object
) : Object
Not applicable.

Parameters

context

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

provider

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

value

The object to edit the value of.

Return Value

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

Exception typeCondition

CheckoutException

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

Windows 98, Windows Server 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0, 1.1, 1.0
Show: