Click or drag to resize
CMSContentResult Class
Defines action result that outputs to the body of the response.
Inheritance Hierarchy
SystemObject
  CMS.Base.RoutingCMSActionResult
    CMS.Base.RoutingCMSContentResult

Namespace: CMS.Base.Routing
Assembly: CMS.Base (in CMS.Base.dll) Version: 13.0.131
Syntax
C#
public class CMSContentResult : CMSActionResult, 
	ICMSEntityTagActionResult, ICMSStatusCodeActionResult

The CMSContentResult type exposes the following members.

Constructors
  NameDescription
Public methodCMSContentResult
Top
Properties
  NameDescription
Public propertyCacheability
Sets the cacheability part of Cache-Control HTTP header value.
(Inherited from CMSActionResult.)
Public propertyCacheRevalidation
Sets the revalidation part of Cache-Control HTTP header value.
(Inherited from CMSActionResult.)
Public propertyContent
Gets or set the content representing the body of the response.
Public propertyContentType
Gets or sets the Content-Type header for the response.
Public propertyEntityTag
Gets or sets the ETag for the content.
Public propertyExpires
Sets the Expires HTTP header to an absolute date and time.
(Inherited from CMSActionResult.)
Public propertyLastModified
Sets the Last-Modified HTTP header to the specified date and time.
(Inherited from CMSActionResult.)
Public propertyNoStore
Sets the Cache-Control: no-store HTTP header.
(Inherited from CMSActionResult.)
Public propertyStatusCode
Gets or sets the HTTP status code.
Top
Methods
  NameDescription
Public methodSetNoCacheCacheability
Sets No-Cache cache-ability.
(Inherited from CMSActionResult.)
Public methodSetPublicCacheability
Sets the public cache-ability.
(Inherited from CMSActionResult.)
Public methodSetRevalidation
Sets the revalidation of the client caches.
(Inherited from CMSActionResult.)
Public methodSetTimeStamps
Sets the last modified and expires header to the response
(Inherited from CMSActionResult.)
Top
See Also