다음을 통해 공유


ListViewWebPart.ListName Property

Gets or sets the globally unique identifier (GUID) of the list that is displayed in the Web Part.

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

Syntax

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

value = instance.ListName

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

Property Value

Type: System.String
A string that contains the GUID of the list with all-uppercase characters and enclosed within curly braces ({ }).

See Also

Reference

ListViewWebPart Class

ListViewWebPart Members

Microsoft.SharePoint.WebPartPages Namespace