SPContextPageInfo Class

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

Inheritance Hierarchy


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


Public NotInheritable Class SPContextPageInfo
Dim instance As SPContextPageInfo
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.

Thread Safety

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

See Also


SPContextPageInfo Members

Microsoft.SharePoint Namespace