CheckedListBox.ValueMember Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets a string that specifies the property of the data source from which to draw the value.
public:
property System::String ^ ValueMember { System::String ^ get(); void set(System::String ^ value); };
[System.ComponentModel.Browsable(false)]
public string ValueMember { get; set; }
[<System.ComponentModel.Browsable(false)>]
member this.ValueMember : string with get, set
Public Property ValueMember As String
Property Value
A string that specifies the property of the data source from which to draw the value.
- Attributes
Exceptions
The specified property cannot be found on the object specified by the DataSource property.
Remarks
Specify the contents of the ValueMember property in cases where you bind data.
You can clear the ValueMember property by setting the property to an empty string ("") or null
.
Setting a new ValueMember property raises the ValueMemberChanged and SelectedValueChanged events.
Applies to
Pripomienky
https://aka.ms/ContentUserFeedback.
Pripravujeme: V priebehu roka 2024 postupne zrušíme službu Problémy v službe GitHub ako mechanizmus pripomienok týkajúcich sa obsahu a nahradíme ju novým systémom pripomienok. Ďalšie informácie nájdete na stránke:Odoslať a zobraziť pripomienky pre