XdmSerializationSettings.Indent PropertyXdmSerializationSettings.Indent PropertyXdmSerializationSettings::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 the indent parameter has the value trueTruetrue, then extra whitespace may be added to the serialized document in order to make it easier to read. This parameter is ignored in the Text output mode. By default, this is set to falseFalsefalse.