Bewerken

Delen via


FileListBox.ValueMember Property

Definition

Gets or sets the property to use as the actual value for the items in a ListControl.

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 representing the name of an object property that is contained in the collection specified by the DataSource property. The default is an empty string ("").

Attributes

Remarks

This property should not be set for the FileListBox control; it is provided only because the FileListBox control inherits from ListBox.

Note

Functions and objects in the Microsoft.VisualBasic.Compatibility.VB6 namespace are provided for use by the tools for upgrading from Visual Basic 6.0 to Visual Basic 2008. In most cases, these functions and objects duplicate functionality that you can find in other namespaces in the .NET Framework. They are necessary only when the Visual Basic 6.0 code model differs significantly from the .NET Framework implementation.

Applies to

See also