DataFormWebPart.ListDisplayName property

Gets or sets the display name of the list.

Namespace:  Microsoft.SharePoint.WebPartPages
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
<WebBrowsableAttribute(False)> _
<PersonalizableAttribute(PersonalizationScope.Shared)> _
Public Property ListDisplayName As String
    Get
    Set
'Usage
Dim instance As DataFormWebPart
Dim value As String

value = instance.ListDisplayName

instance.ListDisplayName = value
[WebBrowsableAttribute(false)]
[PersonalizableAttribute(PersonalizationScope.Shared)]
public string ListDisplayName { get; set; }

Property value

Type: System.String
A String that contains the display name of the list.

Remarks

The ListDisplayName property value is used in combination with the ListName and ListUrl members of this class to determine which list the Web Part references. Note that the ListDisplayName property has the lowest precedence of the three members.

See also

Reference

DataFormWebPart class

DataFormWebPart members

Microsoft.SharePoint.WebPartPages namespace