Breyta

Deila með


FileListBox.DisplayMember Property

Definition

Gets or sets the property to display for this ListControl.

public:
 property System::String ^ DisplayMember { System::String ^ get(); void set(System::String ^ value); };
[System.ComponentModel.Browsable(false)]
public string DisplayMember { get; set; }
[<System.ComponentModel.Browsable(false)>]
member this.DisplayMember : string with get, set
Public Property DisplayMember As String

Property Value

A String that represents 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