Compartilhar via


indent Property (Windows CE 5.0)

Send Feedback

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

IMXWriter:IDispatch

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.