Share via


ListItemProperty.List Property

Gets or sets the GUID of the list to which the list item property pertains.

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 ListItemProperty
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

ListItemProperty Class

ListItemProperty Members

Microsoft.SharePoint.WebControls Namespace