SyncronizedEPTDocumentToString Method (Boolean, Encoding) Content Studio 5.7 SDK
Content Studio Web Content Management System

[This is preliminary documentation and is subject to change.]

Gets the content of this Ept document in the Xml format with an option to return only changed fields and a specific encoding.

Namespace: ContentStudio.Document.EPT
Assembly: CSServer5 (in CSServer5.dll) Version: 5.7.5016.0 (5.7.5016.0)

public string ToString(
	bool changedFieldsOnly,
	Encoding encoding


Type: SystemBoolean
if set to true only changed or added fields are included.
Type: System.TextEncoding
The encoding to use.

Return Value

Type: String
The content of the Ept document in the raw Xml format

This method is new in Content Studio 5.2

Note Note
The caller must ensure that the stream is disposed after usage. No attempt is made to move the position of the stream when the writing is finished. For example; if a MemoryStream is used the stream will be at the end position after the write operation.
See Also