WsWriteStartCData function
This operation starts a CDATA section in the writer. CDATA sections cannot be nested and cannot appear at the root of the document.
Note Some encodings do not support CDATA
and will generate text instead.
Syntax
HRESULT WINAPI WsWriteStartCData( _In_ WS_XML_WRITER* writer, _In_opt_ WS_ERROR* error );
Parameters
- writer [in]
-
A pointer to the WS_XML_WRITER object to which the CDATA section is written. The pointer must reference a valid XML Writer object.
- error [in, optional]
-
A pointer to a WS_ERROR object where additional information about the error should be stored if the function fails.
Return value
This function can return one of these values.
| Return code | Description |
|---|---|
|
One or more arguments are invalid. |
|
The operation is not allowed due to the current state of the object. |
Requirements
|
Minimum supported client | Windows 7 [desktop apps | Windows Store apps] |
|---|---|
|
Minimum supported server | Windows Server 2008 R2 [desktop apps | Windows Store apps] |
|
Header |
|
|
Library |
|
|
DLL |
|
Community Additions
ADD
Show: