Share via


DataFormWebPart.ListDisplayName Property

Gets or sets the display name of the list.

Namespace:  Microsoft.SharePoint.WebPartPages
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

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

value = instance.ListDisplayName

instance.ListDisplayName = value
[PersonalizableAttribute(PersonalizationScope.Shared)]
[WebBrowsableAttribute(false)]
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