Share via


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)

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