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
Feedback
https://aka.ms/ContentUserFeedback.
Binnenkort: Gedurende 2024 worden GitHub Issues uitgefaseerd als het feedbackmechanisme voor inhoud. Dit wordt vervangen door een nieuw feedbacksysteem. Ga voor meer informatie naar:Feedback verzenden en bekijken voor