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

SPContext.ContextPageInfo property

Gets the information about the current list item for the current request (if there is one). For example, information could include the item ID, if it is a welcome page, or the base permissions of the object.

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

public SPContextPageInfo ContextPageInfo { get; internal set; }

Property value

Type: Microsoft.SharePoint.SPContextPageInfo
Returns a SPContextPageInfo object.
© 2015 Microsoft