XdmWriterSettings.Indent PropertyXdmWriterSettings.Indent PropertyXdmWriterSettings::Indent Property

Gets or sets a value indicating whether output should be indented.

Syntax

Public Property Indent As Boolean
        Get
        Set(ByVal value As Boolean)
public bool Indent { get; set; }
public:
property bool Indent {
    bool get();
    void set(bool value);
}
 

Property Value

Type: System.BooleanSystem.BooleanSystem::Boolean

trueTruetrue if the output should be indented; otherwise falseFalsefalse.

Remarks

This property corresponds to the indent serialization parameter.

If this property has the value trueTruetrue, then extra whitespace may be added to the serialized document in order to make it easier to read, in accordance with the rules specific to the current output method.

This property is ignored when MethodMethodMethod is set to TextOutputMethodTextOutputMethodTextOutputMethod or CanonicalOutputMethodCanonicalOutputMethodCanonicalOutputMethod.

By default this property is set to falseFalsefalse