Επεξεργασία

Κοινή χρήση μέσω


XmlSchema.Write Method

Definition

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

writer
XmlWriter

The XmlWriter to write to.

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.

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.

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

writer
XmlWriter

The XmlWriter to write to.

Remarks

Note

Supplying an XmlNamespaceManager disables automatic namespace prefix mapping.

Applies to