System.Xml.XmlReaderSettings.CloseInput Property

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

Syntax

public bool CloseInput { get; set; }

Value

Documentation for this section has not yet been entered.

Remarks

This setting is used when a stream or System.IO.TextReader is passed to the erload:System.Xml.XmlReader.Create method. If a stream is created by the reader for its own processing, such as when the reader is created with a URI or when it opens an external document type definition, it is always closed when the reader is closed.

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