Share via


XmlMediaTypeFormatter.Indent Property

 

Gets or sets a value indicating whether to indent elements when writing data.

Namespace:   System.Net.Http.Formatting
Assembly:  System.Net.Http.Formatting (in System.Net.Http.Formatting.dll)

Syntax

public bool Indent { get; set; }
public:
property bool Indent {
    bool get();
    void set(bool value);
}
member Indent : bool with get, set
Public Property Indent As Boolean

Property Value

Type: System.Boolean

true to indent elements; otherwise, false.

See Also

XmlMediaTypeFormatter Class
System.Net.Http.Formatting Namespace

Return to top