Value Property (ComboBox)
In This Topic
Gets or sets the value of the field. The value may be the export value of one of the
options, or, if Edit is set, it may specify a custom text.
Syntax
'Declaration
Public Property Value As String
'Usage
Dim instance As ComboBox
Dim value As String
instance.Value = value
value = instance.Value
public string Value {get; set;}
public: __property string* get_Value();
public: __property void set_Value(
string* value
);
public:
property String^ Value {
String^ get();
void set ( String^ value);
}
Property Value
The export value of one of the options or a custom text.
Exceptions
Exception | Description |
System.Exception | If Edit is not set,
attempting to enter a value that does not exist as an option in the field. |
See Also