Encapsulates information about the main page in the context of the current request.
'Declaration Public NotInheritable Class SPContextPageInfo 'Usage 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.
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.