XdmReaderSettings.CloseInput PropertyXdmReaderSettings.CloseInput PropertyXdmReaderSettings::CloseInput Property

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

Syntax

Public Property CloseInput As Boolean
        Get
        Set(ByVal value As Boolean)
public bool CloseInput { get; set; }
public:
property bool CloseInput {
    bool get();
    void set(bool value);
}
 

Property Value

Type: System.BooleanSystem.BooleanSystem::Boolean

trueTruetrue to close the underlying stream or TextReaderTextReaderTextReader when the reader is closed; otherwise falseFalsefalse. The default is falseFalsefalse.