indent Property (Compact 2013)
3/26/2014
This property sets whether or not to indent output. When set to TRUE, this property requires output to be indented to reflect the nesting structure of the document.
Syntax
[propput]
HRESULT indent(
[in] VARIANT_BOOL fIndentMode
);
[propget]
HRESULT indent(
[out, retval] VARIANT_BOOL* fIndentMode
);
Parameters
fIndentMode
Boolean expression (TRUE/FALSE) specifying whether the feature is on or off, as shown in the following table.Value
Description
TRUE
Provide white space for formatting.
FALSE
No additional indenting requirement.
Return Value
- S_OK
Returned if no errors are reported.
Remarks
The default of this property is dependent on implementation. There is no way to detect white space inside an internal document type definition (DTD). Therefore, DTDs are always indented.
Requirements
Header |
msxml2.h, |