indent Property (Windows CE 5.0)
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.
[propput]HRESULTindent([in] VARIANT_BOOLfIndentMode);
[propget]HRESULTindent([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 Values
- 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
OS Versions: Windows CE .NET 4.0 and later.
Header: Msxml2.h, Msxml2.idl.
See Also
Send Feedback on this topic to the authors