XmlSchema.Write XmlSchema.Write XmlSchema.Write XmlSchema.Write Method

Definition

Writes out an XML Schema.

Overloads

Write(Stream) Write(Stream) Write(Stream)

Writes the XML Schema to the supplied data stream.

Write(TextWriter) Write(TextWriter) Write(TextWriter) Write(TextWriter)

Writes the XML Schema to the supplied TextWriter.

Write(XmlWriter) Write(XmlWriter) Write(XmlWriter) Write(XmlWriter)

Writes the XML Schema to the supplied XmlWriter.

Write(Stream, XmlNamespaceManager) Write(Stream, XmlNamespaceManager) Write(Stream, XmlNamespaceManager)

Writes the XML Schema to the supplied Stream using the XmlNamespaceManager specified.

Write(TextWriter, XmlNamespaceManager) Write(TextWriter, XmlNamespaceManager) Write(TextWriter, XmlNamespaceManager) Write(TextWriter, XmlNamespaceManager)

Writes the XML Schema to the supplied TextWriter.

Write(XmlWriter, XmlNamespaceManager) Write(XmlWriter, XmlNamespaceManager) Write(XmlWriter, XmlNamespaceManager) Write(XmlWriter, XmlNamespaceManager)

Writes the XML Schema to the supplied XmlWriter.

Write(Stream) Write(Stream) Write(Stream)

Writes the XML Schema to the supplied data stream.

public:
 void Write(System::IO::Stream ^ stream);
public void Write (System.IO.Stream stream);
member this.Write : System.IO.Stream -> unit

Parameters

stream
Stream Stream Stream Stream

The supplied data stream.

Write(TextWriter) Write(TextWriter) Write(TextWriter) Write(TextWriter)

Writes the XML Schema to the supplied TextWriter.

public:
 void Write(System::IO::TextWriter ^ writer);
public void Write (System.IO.TextWriter writer);
member this.Write : System.IO.TextWriter -> unit
Public Sub Write (writer As TextWriter)

Parameters

Write(XmlWriter) Write(XmlWriter) Write(XmlWriter) Write(XmlWriter)

Writes the XML Schema to the supplied XmlWriter.

public:
 void Write(System::Xml::XmlWriter ^ writer);
public void Write (System.Xml.XmlWriter writer);
member this.Write : System.Xml.XmlWriter -> unit
Public Sub Write (writer As XmlWriter)

Parameters

writer
XmlWriter XmlWriter XmlWriter XmlWriter

The XmlWriter to write to.

Exceptions

Write(Stream, XmlNamespaceManager) Write(Stream, XmlNamespaceManager) Write(Stream, XmlNamespaceManager)

Writes the XML Schema to the supplied Stream using the XmlNamespaceManager specified.

public:
 void Write(System::IO::Stream ^ stream, System::Xml::XmlNamespaceManager ^ namespaceManager);
public void Write (System.IO.Stream stream, System.Xml.XmlNamespaceManager namespaceManager);
member this.Write : System.IO.Stream * System.Xml.XmlNamespaceManager -> unit

Parameters

stream
Stream Stream Stream Stream

The supplied data stream.

Remarks

Note

Supplying an XmlNamespaceManager disables automatic namespace prefix mapping.

Write(TextWriter, XmlNamespaceManager) Write(TextWriter, XmlNamespaceManager) Write(TextWriter, XmlNamespaceManager) Write(TextWriter, XmlNamespaceManager)

Writes the XML Schema to the supplied TextWriter.

public:
 void Write(System::IO::TextWriter ^ writer, System::Xml::XmlNamespaceManager ^ namespaceManager);
public void Write (System.IO.TextWriter writer, System.Xml.XmlNamespaceManager namespaceManager);
member this.Write : System.IO.TextWriter * System.Xml.XmlNamespaceManager -> unit
Public Sub Write (writer As TextWriter, namespaceManager As XmlNamespaceManager)

Parameters

Remarks

Note

Supplying an XmlNamespaceManager disables automatic namespace prefix mapping.

Write(XmlWriter, XmlNamespaceManager) Write(XmlWriter, XmlNamespaceManager) Write(XmlWriter, XmlNamespaceManager) Write(XmlWriter, XmlNamespaceManager)

Writes the XML Schema to the supplied XmlWriter.

public:
 void Write(System::Xml::XmlWriter ^ writer, System::Xml::XmlNamespaceManager ^ namespaceManager);
public void Write (System.Xml.XmlWriter writer, System.Xml.XmlNamespaceManager namespaceManager);
member this.Write : System.Xml.XmlWriter * System.Xml.XmlNamespaceManager -> unit
Public Sub Write (writer As XmlWriter, namespaceManager As XmlNamespaceManager)

Parameters

writer
XmlWriter XmlWriter XmlWriter XmlWriter

The XmlWriter to write to.

Remarks

Note

Supplying an XmlNamespaceManager disables automatic namespace prefix mapping.

Applies to