Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
ListId property

SPContext.ListId property

Gets the GUID of the list that is associated with the Microsoft SharePoint Foundation context.

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

public Guid ListId { get; }

Property value

Type: System.Guid
A GUID that identifies the list.
Show:
© 2015 Microsoft