The CMSPageRequest type exposes the following members.

Constructors

  Name Description
Public method CMSPageRequest()()()()
Initializes a new instance of the CMSPageRequest class
Public method CMSPageRequest(HttpRequestBase, String, String, String, ICMSPageFactory)
Constructs a page request.

Methods

  Name Description
Public method Attribute
Get an attribute by name
Public method Attributes
Get all attributes
Public method Descendants()()()()
Get all descendant elements
Public method Descendants(XName, String)
Get descendant elements by element name, and/or value of "Name" attribute
Public method DescendantsAndSelf()()()()
Get descendant elements and self
Public method DescendantsAndSelf(XName)
Get descendant elements and self if element name matches
Public method Element
Get an child element by name, and/or value of "Name" attribute
Public method Elements()()()()
Get child elements
Public method Elements(XName, String)
Get child elements by element name, and/or value of "Name" attribute.
Public method GetAttributeValue
Get value of attribute
Public method GetElementValue
Get the value of first matching element if exists, otherwise, return emtpy string
Public method GetLinkItem
Get a Link Element by name
Public method GetLinkItems
Get Child Or Descendant Link Elements
Public method GetNavigation
Get a navigation element
Public method GetNavigationItems
Get Child or Descendant Navigation items
Public method GetPageContent
Override to implement tfrm=5 scenario
(Overrides CMSComponentRequestGetPageContent(Boolean).)
Public method GetTaxonomyNavigation
Get a taxonomy navigation element
Public method XPathSelectElement
Select an element using Xpath. Please note that even though this method is flexible, it is quite a bit slowerd than using linq query via Element/Elements/Descendants method.
Public method XPathSelectElements
Select a list of element using Xpath. Please note that even though this method is flexible, it is quite a bit slowerd than using linq query via Element/Elements/Descendants method.

Fields

Properties

  Name Description
Public property AuthenticationInformation
Gets the authentication information of current request
Public property BrowserCapabilities
Gets the browser capabilities of the current request
Public property Cookies
Gets cookies for the request.
Public property CurrentPublishingTargetID
Gets the current pub target id, Design-time only
Public property EditMode
Gets the edit mode. When true, mean request is in In-Context Edit mode
Public property Factory
Gets the page factory used to retrieve pages
Public property Form
Gets form posts for the request.
Public property IncludeAllPages
Public property IsPreview
Get if the object is in preview mode
Public property MobileDeviceInformation
Get the mobile device information if browsed by a mobile device, otherwise, returns null
Public property Static member NavigationElementNames
Public property Page
Public property PresentationInformation
Public property QueryString
Gets query strings.
Public property RequestPath
Gets the request path (relative).
Public property RestrictedAccess
Public property ServerVariables
Gets server variables for the request.
Public property Site
Gets site representation for the request.
Public property Tag
Used to attach additional information
Public property TransformOption
Gets the transform option of the request.
Public property URL
Get the request URL
Public property UserAgent
Gets the user agent representation of the request.
Public property ViewMode
Get/Set ViewMode. This is an parameter property used for rendering mode in view
Public property ViewName
Gets the name of View for page type. Default Runtime Site will use this name to look up View template for rendering. Default is the root element name

See Also