Bearbeiten

Freigeben über


EmbeddedMailObjectCollectionEditor.EditValue Method

Definition

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

public:
 override System::Object ^ EditValue(System::ComponentModel::ITypeDescriptorContext ^ context, IServiceProvider ^ provider, System::Object ^ value);
public override object EditValue (System.ComponentModel.ITypeDescriptorContext context, IServiceProvider provider, object value);
override this.EditValue : System.ComponentModel.ITypeDescriptorContext * IServiceProvider * obj -> obj
Public Overrides Function EditValue (context As ITypeDescriptorContext, provider As IServiceProvider, value As Object) As Object

Parameters

context
ITypeDescriptorContext

An ITypeDescriptorContext that is used to gain additional context information.

provider
IServiceProvider

An object implementing the IServiceProvider through which editing services can be obtained.

value
Object

The object to edit the value for.

Returns

The new value; otherwise, if the value of the object has not changed, value unchanged.

Remarks

The EditValue method calls the OnComponentChanging method of the context parameter, and then calls the EditValue base method. Exceptions that are thrown are propagated back to the caller. The OnComponentChanged method of context is called when the editing is complete.

Applies to

See also