Partager via


indent Property (Windows Embedded CE 6.0)

1/6/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

See Also

Reference

IMXWriter