This document is provided on an "AS IS" basis without warranties of any kind. Smartsite iXperion class libraries may change in future releases.

Syntax

C# Copy imageCopy Code
                                  public class CmsResponse
Visual Basic (Declaration) Copy imageCopy Code
                                  Public Class CmsResponse

The type exposes the following methods.

Public Methods

  Name Description
Public method AddHeader
Adds the response header.
(Inherited from ResponseInfoBase.)
Public method CopyTo
Copies the values of this instance to specified target.
(Inherited from CmsResponseInfo.)
Public method CreateCacheKey
Creates the cache key.
(Inherited from CmsResponseInfo.)
Public method Dispose Overloaded.
Public method End
Ends the response immediately.
Public method Equals (Inherited from Object.)
Public method Flush
Flushes the underlying stream.
Public method GetBytes
Returns the response stream as a byte array
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Public method Redirect
Redirects the response to the specified address.
Public method SetHeadersReadOnly
Sets the headers in read-only state.
(Inherited from ResponseInfoBase.)
Public method ToString
Returns a String that represents the current Object.
(Overrides Object..::ToString()()()().)
Public method TransmitHeaders
Transmits the headers of this instance to specified http response.
(Inherited from ResponseInfoBase.)
Public method UpdateLastModifiedDate
Updates the last modified date of the response, if the given date is newer than the current one.
Public method Write Overloaded.
Public method WriteLine
Writes the specified data into the response stream, appending a line feed.

Protected Methods

  Name Description
Protected method CreateOutputStream
Creates the output stream.
Protected method Dispose Overloaded.
Protected method Finalize (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Protected method OnBeforeWriteContent
Raised just before content is written
Protected method OnContentTypeChanged
Called when the content type has changed.
(Inherited from ResponseInfoBase.)
Protected method OnEncodingChanged
Called when the encoding has changed.
(Inherited from ResponseInfo.)
Protected method WriteHeaders
Writes the headers to the output

See Also

Advanced