Important: |
---|
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist. |
A version of this page is also available for
4/8/2010
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, msxml2.idl |
Windows Embedded CE | Windows CE .NET 4.0 and later |
Windows Mobile | Windows Mobile Version 5.0 and later |