SPContextPageInfo Class

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

Inheritance Hierarchy

System.Object
  Microsoft.SharePoint.SPContextPageInfo

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

Syntax

'Declaration
Public NotInheritable Class SPContextPageInfo
'Usage
Dim instance As SPContextPageInfo
public sealed class SPContextPageInfo

Remarks

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

Reference

SPContextPageInfo Members

Microsoft.SharePoint Namespace