JsonMediaTypeFormatter.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 {
    [CompilerGeneratedAttribute]
    get;
    [CompilerGeneratedAttribute]
    set;
}
public:
property bool Indent {
    [CompilerGeneratedAttribute]
    bool get();
    [CompilerGeneratedAttribute]
    void set(bool value);
}
member Indent : bool with get, set
Public Property Indent As Boolean

Property Value

Type: System.Boolean

true if to indent elements when writing data; otherwise, false.

See Also

JsonMediaTypeFormatter Class
System.Net.Http.Formatting Namespace

Return to top