Condividi tramite


DataViewWebPart.ListName Property

Gets or sets the list name.

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

Syntax

'Declaration
<WebPartStorageAttribute(Storage.Shared)> _
<BrowsableAttribute(False)> _
Public Property ListName As String
    Get
    Set
'Usage
Dim instance As DataViewWebPart
Dim value As String

value = instance.ListName

instance.ListName = value
[WebPartStorageAttribute(Storage.Shared)]
[BrowsableAttribute(false)]
public string ListName { get; set; }

Property Value

Type: System.String
A string that contains the name of the SharePoint list that is displayed by this Web Part.

See Also

Reference

DataViewWebPart Class

DataViewWebPart Members

Microsoft.SharePoint.WebPartPages Namespace