Partilhar via


FormComboBoxControl.text Method

Definition

Overloads

text()

Sets or returns the text for the control.

text(String)

text()

Sets or returns the text for the control.

public:
 virtual System::String ^ text();
public virtual string text ();
abstract member text : unit -> string
override this.text : unit -> string
Public Overridable Function text () As String

Returns

The text for the control; an empty string if no text has been assigned for the control.

Applies to

text(String)

public:
 virtual System::String ^ text(System::String ^ _value);
public virtual string text (string _value);
abstract member text : string -> string
override this.text : string -> string
Public Overridable Function text (_value As String) As String

Parameters

_value
String

The value to assign as the text for the control; optional.

Returns

Applies to