XmlSchema.Write Method
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.
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. |
- 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
.NET 10 и други версии
Продукт | Версии |
---|---|
.NET | Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9, 10 |
.NET Framework | 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
.NET Standard | 2.0, 2.1 |
- 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
.NET 10 и други версии
Продукт | Версии |
---|---|
.NET | Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9, 10 |
.NET Framework | 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
.NET Standard | 2.0, 2.1 |
- 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
.NET 10 и други версии
Продукт | Версии |
---|---|
.NET | Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9, 10 |
.NET Framework | 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
.NET Standard | 2.0, 2.1 |
- 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
Бележка
Supplying an XmlNamespaceManager disables automatic namespace prefix mapping.
Applies to
.NET 10 и други версии
Продукт | Версии |
---|---|
.NET | Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9, 10 |
.NET Framework | 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
.NET Standard | 2.0, 2.1 |
- 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
Бележка
Supplying an XmlNamespaceManager disables automatic namespace prefix mapping.
Applies to
.NET 10 и други версии
Продукт | Версии |
---|---|
.NET | Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9, 10 |
.NET Framework | 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
.NET Standard | 2.0, 2.1 |
- 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
Бележка
Supplying an XmlNamespaceManager disables automatic namespace prefix mapping.
Applies to
.NET 10 и други версии
Продукт | Версии |
---|---|
.NET | Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9, 10 |
.NET Framework | 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
.NET Standard | 2.0, 2.1 |
Обратна връзка за .NET
.NET е проект с отворен код. Изберете връзка, за да предоставите обратна връзка: