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.
Applies to
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈