TypeBrowserEditor.EditValue Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Edits the value of the specified object using the editor style indicated by GetEditStyle.
public:
override System::Object ^ EditValue(System::ComponentModel::ITypeDescriptorContext ^ typeDescriptorContext, IServiceProvider ^ serviceProvider, System::Object ^ value);
public override object EditValue (System.ComponentModel.ITypeDescriptorContext typeDescriptorContext, IServiceProvider serviceProvider, object value);
override this.EditValue : System.ComponentModel.ITypeDescriptorContext * IServiceProvider * obj -> obj
Public Overrides Function EditValue (typeDescriptorContext As ITypeDescriptorContext, serviceProvider As IServiceProvider, value As Object) As Object
Parameters
- typeDescriptorContext
- ITypeDescriptorContext
An ITypeDescriptorContext that can be used to gain additional context information.
- serviceProvider
- IServiceProvider
An IServiceProvider that the editor can use to obtain services.
Returns
The new value of the object.
Exceptions
typeDescriptorContext
or serviceProvider
contains a null reference (Nothing
in Visual Basic).
GetService(Type) returns a null reference (Nothing
) when it attempts to obtain the type provider.