編輯

共用方式為


DataGridCellItemAutomationPeer.IValueProvider.SetValue(String) Method

Definition

Sets the value of a control.

 virtual void System.Windows.Automation.Provider.IValueProvider.SetValue(System::String ^ value) = System::Windows::Automation::Provider::IValueProvider::SetValue;
void IValueProvider.SetValue (string value);
abstract member System.Windows.Automation.Provider.IValueProvider.SetValue : string -> unit
override this.System.Windows.Automation.Provider.IValueProvider.SetValue : string -> unit
Sub SetValue (value As String) Implements IValueProvider.SetValue

Parameters

value
String

The value to set. The provider is responsible for converting the value to the appropriate data type.

Implements

Exceptions

The DataGridCell object that is associated with this DataGridCellItemAutomationPeer object is read-only.

Remarks

This member is an explicit interface member implementation. It can be used only when the DataGridCellItemAutomationPeer instance is cast to an IValueProvider interface.

Applies to