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)
Available in Sandboxed Solutions: No
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.