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
'Declaration
Public Property Indent As Boolean
Get
Set
'Usage
Dim instance As XmlMediaTypeFormatter
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 to indent elements; otherwise, false.