public string ValueMember { get; set; }
Public Property ValueMember As String
Get
Set
public:
property String^ ValueMember {
String^ get ();
void set (String^ value);
}
member ValueMember : string with get, set
The default value is an empty string. Specify a value to bind the data to a property. Clear it by setting it to an empty string or null.
Setting a new value member will raise the ValueMemberChanged and SelectedValueChanged events.
ArgumentException | This is thrown if the value member cannot be found in the data source. |