System.Xml.XmlWriterSettings.IndentChars Property

Gets or sets the character string to use when indenting. This setting is used when the XmlWriterSettings.Indent property is set to true.

Syntax

public string IndentChars { get; set; }

Value

Documentation for this section has not yet been entered.

Remarks

This property only applies to System.Xml.XmlWriter instances that output text content; otherwise, this setting is ignored. The System.Xml.XmlWriter throws an exception if the indent characters would result in invalid XML.

Requirements

Namespace: System.Xml
Assembly: System.Xml (in System.Xml.dll)
Assembly Versions: 2.0.0.0, 4.0.0.0
Since: .NET 2.0