Share via


ComboBoxAutomationPeer.SetValue(String) Method

Definition

Sets the value of a control, as an implementation of the IValueProvider pattern.

public:
 virtual void SetValue(Platform::String ^ value) = SetValue;
void SetValue(winrt::hstring const& value);
public void SetValue(string value);
function setValue(value)
Public Sub SetValue (value As String)

Parameters

value
String

Platform::String

winrt::hstring

The value to set.

Implements

M:Microsoft.UI.Xaml.Automation.Provider.IValueProvider.SetValue(System.String) M:Microsoft.UI.Xaml.Automation.Provider.IValueProvider.SetValue(Platform::String) M:Microsoft.UI.Xaml.Automation.Provider.IValueProvider.SetValue(winrt::hstring)

Applies to