Share via


Close Method

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

When overridden in a derived class, closes this stream and the underlying stream.

Namespace:  System.Ext.Xml
Assembly:  MFDpwsExtensions (in MFDpwsExtensions.dll)

Syntax

'Declaration
Public Sub Close
public void Close()
public:
void Close()
member Close : unit -> unit 
public function Close()

Exceptions

Exception Condition
InvalidOperationException

A call is made to write more output after Close has been called.

-or-

The result of this call is an invalid XML document.

.NET Framework Security

See Also

Reference

XmlWriter Class

System.Ext.Xml Namespace