Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
0 out of 3 rated this helpful - Rate this topic

CheckedListBox.ValueMember Property

This property supports the .NET Framework infrastructure and is not intended to be used directly from your code.

Gets or sets a string that specifies the property of the data source from which to draw the value. This property is not relevant to this class.

Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in system.windows.forms.dll)

public string ValueMember { get; set; }
/** @property */
public String get_ValueMember ()

/** @property */
public void set_ValueMember (String value)

public function get ValueMember () : String

public function set ValueMember (value : String)

Exception typeCondition

ArgumentException

The specified property cannot be found on the object specified by the DataSource property.

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 a null reference (Nothing in Visual Basic).

Setting a new ValueMember property raises the ValueMemberChanged and SelectedValueChanged events.

This property is not relevant to this class.

Windows 98, Windows 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

.NET Framework

Supported in: 2.0, 1.1, 1.0
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

Show:
© 2014 Microsoft. All rights reserved.