Edit

Bagikan melalui


RibbonComboBoxAutomationPeer.SetValue(String) Method

Definition

Sets the Text property of the RibbonComboBox that is associated with this RibbonComboBoxAutomationPeer to the specified value.

public:
 virtual void SetValue(System::String ^ value);
public void SetValue (string value);
abstract member SetValue : string -> unit
override this.SetValue : string -> unit
Public Sub SetValue (value As String)

Parameters

value
String

The value to set the Text property to.

Implements

Exceptions

The RibbonComboBox that is associated with this RibbonComboBoxAutomationPeer is not enabled.

value is null.

Applies to