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

'Declaration
Public Property Indent As Boolean 
    Get 
    Set
'Usage
Dim instance As JsonMediaTypeFormatter 
Dim value As Boolean 

value = instance.Indent

instance.Indent = value
public bool Indent { get; set; }
public:
property bool Indent {
    bool get ();
    void set (bool value);
}
member Indent : bool with get, set
function get Indent () : boolean 
function set Indent (value : boolean)

Property Value

Type: System.Boolean
true if to indent elements when writing data; otherwise, false.

See Also

Reference

JsonMediaTypeFormatter Class

System.Net.Http.Formatting Namespace