Partager via


ListProperty.List property

Gets or sets the GUID of the list for the server control.

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

Syntax

'Declaration
Public Property List As String
    Get
    Set
'Usage
Dim instance As ListProperty
Dim value As String

value = instance.List

instance.List = value
public string List { get; set; }

Property value

Type: System.String
A string that contains the GUID of the list.

Remarks

The List property defaults to the current list if there is a ListViewWebPart or ListFormWebPart control on the page.

See also

Reference

ListProperty class

ListProperty members

Microsoft.SharePoint.WebControls namespace