Documentation > CMS Template API Library > Out
CrownPeak.CMSAPI.Out
The Out object provides the CMS templates with a variety of output functions. Many provide a means to manipulate text for the template text response, wrapping and debugging
Name | Description | Type |
---|---|---|
DebugWriteLine | Writes the formatted string to the debug console. Go to System, Tools, Debug Console to see the messages. They do not work when publishing. |
Method |
DebugWriteLine | Writes the text to the debug console |
Method |
GetWrapContentPlaceholder | Placeholder for wrapped content. Output from the calling template will be inserted here. |
Method |
StartCapture | Starts text capture. All output from this point on is recorded and not sent back to the client browser or published |
Method |
StopCapture | Stops capture mode and returns all the text printed between Out.StartCapture() and Out.StopCapture(). The text can then be processed and/or printed as needed. |
Method |
Wrap | Passes the output of this render to another asset for further rendering. This is marked obsolete, but might still be appropriate in environments where a VBScript wrapper is wrapping a C# template. |
Method |
Wrap | Passes the output of this render to another asset for further rendering |
Method |
Write | Writes the specified boolean to the output. |
Method |
Write | Writes the specified boolean to the output. |
Method |
Write | Appends the string to the output with the given format string. |
Method |
Write | Writes the specified text to the output. |
Method |
WriteLine | Writes a new line to the output with the given format string. |
Method |
WriteLine | Writes the line to the output. |
Method |
NewLine | The new line character(s) the CMS will use when rendering assets. |
Property |