XdmWriterSettings.CloseOutput PropertyXdmWriterSettings.CloseOutput PropertyXdmWriterSettings::CloseOutput Property

Gets or sets a value indicating whether the XmlWriterXmlWriterXmlWriter should also close the underlying StreamStreamStream or TextWriterTextWriterTextWriter when the CloseCloseClose method is called.

Syntax

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

Property Value

Type: System.BooleanSystem.BooleanSystem::Boolean

trueTruetrue to also close the underlying StreamStreamStream or TextWriterTextWriterTextWriter otherwise falseFalsefalse. The default is falseFalsefalse.