XmlSchema.Write Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Writes out an XML Schema.
Overloads
Write(Stream) |
Writes the XML Schema to the supplied data stream. |
Write(TextWriter) |
Writes the XML Schema to the supplied TextWriter. |
Write(XmlWriter) |
Writes the XML Schema to the supplied XmlWriter. |
Write(Stream, XmlNamespaceManager) |
Writes the XML Schema to the supplied Stream using the XmlNamespaceManager specified. |
Write(TextWriter, XmlNamespaceManager) |
Writes the XML Schema to the supplied TextWriter. |
Write(XmlWriter, XmlNamespaceManager) |
Writes the XML Schema to the supplied XmlWriter. |
Write(Stream)
- Source:
- XmlSchema.cs
- Source:
- XmlSchema.cs
- Source:
- XmlSchema.cs
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
Public Sub Write (stream As Stream)
Parameters
- stream
- Stream
The supplied data stream.
Applies to
Write(TextWriter)
- Source:
- XmlSchema.cs
- Source:
- XmlSchema.cs
- Source:
- XmlSchema.cs
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
- writer
- TextWriter
The TextWriter to write to.
Applies to
Write(XmlWriter)
- Source:
- XmlSchema.cs
- Source:
- XmlSchema.cs
- Source:
- XmlSchema.cs
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
Exceptions
The writer
parameter is null.
Applies to
Write(Stream, XmlNamespaceManager)
- Source:
- XmlSchema.cs
- Source:
- XmlSchema.cs
- Source:
- XmlSchema.cs
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);
public void Write (System.IO.Stream stream, System.Xml.XmlNamespaceManager namespaceManager);
member this.Write : System.IO.Stream * System.Xml.XmlNamespaceManager -> unit
Public Sub Write (stream As Stream, namespaceManager As XmlNamespaceManager)
Parameters
- stream
- Stream
The supplied data stream.
- namespaceManager
- XmlNamespaceManager
The XmlNamespaceManager.
Remarks
Note
Supplying an XmlNamespaceManager disables automatic namespace prefix mapping.
Applies to
Write(TextWriter, XmlNamespaceManager)
- Source:
- XmlSchema.cs
- Source:
- XmlSchema.cs
- Source:
- XmlSchema.cs
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);
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
- writer
- TextWriter
The TextWriter to write to.
- namespaceManager
- XmlNamespaceManager
The XmlNamespaceManager.
Remarks
Note
Supplying an XmlNamespaceManager disables automatic namespace prefix mapping.
Applies to
Write(XmlWriter, XmlNamespaceManager)
- Source:
- XmlSchema.cs
- Source:
- XmlSchema.cs
- Source:
- XmlSchema.cs
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);
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
- namespaceManager
- XmlNamespaceManager
The XmlNamespaceManager.
Remarks
Note
Supplying an XmlNamespaceManager disables automatic namespace prefix mapping.
Applies to
.NET