DataFormWebPart.ListUrl property

Gets or sets the URL for the list.

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

Syntax

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

value = instance.ListUrl

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

Property value

Type: System.String
A String that contains the URL of the list.

Remarks

The ListUrl, ListDisplayName, and ListName properties are used to determine which list the Data Form references. The ListUrl property has higher precedence than the ListDisplayName property, but lower precedence than the ListName property.

See also

Reference

DataFormWebPart class

DataFormWebPart members

Microsoft.SharePoint.WebPartPages namespace