SPContextPageInfo Class

Encapsulates information about the main page in the context of the current request.


Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

public sealed class SPContextPageInfo

An instance of this class contains information about the main page in the current context. For example, if the request is for “/sites/mysite/default.aspx”, the SPContextPageInfo object has information about that page.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.