Share via


XmlReaderSettings.CloseInput Property

Gets or sets a value indicating whether the underlying stream or TextReader should be closed when the reader is closed.

Namespace: System.Xml
Assembly: System.Xml (in system.xml.dll)

Syntax

public bool CloseInput { get; set; }

Property Value

true to close the underlying stream or TextReader when the reader is closed; otherwise false. The default is false.

Version Information

Available in the .NET Micro Framework versions 2.5, 3.0, 4.0, 4.1, and 4.2.

See Also

Reference

XmlReaderSettings Class
XmlReaderSettings Members
System.Xml Namespace