Compartilhar via


DataFormWebPart.ListUrl Property

Gets or sets the URL for the list.

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

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