Partager 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)

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