Partilhar via


XmlSchema.Write Método

Definição

Grava um esquema XML.

Sobrecargas

Write(Stream)

Grava o esquema XML no fluxo de dados fornecido.

Write(TextWriter)

Grava o esquema XML no TextWriter fornecido.

Write(XmlWriter)

Grava o esquema XML no XmlWriter fornecido.

Write(Stream, XmlNamespaceManager)

Grava o esquema XML no Stream fornecido usando o XmlNamespaceManager especificado.

Write(TextWriter, XmlNamespaceManager)

Grava o esquema XML no TextWriter fornecido.

Write(XmlWriter, XmlNamespaceManager)

Grava o esquema XML no XmlWriter fornecido.

Write(Stream)

Grava o esquema XML no fluxo de dados fornecido.

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)

Parâmetros

stream
Stream

O fluxo de dados fornecido.

Aplica-se a

Write(TextWriter)

Grava o esquema XML no TextWriter fornecido.

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)

Parâmetros

writer
TextWriter

O TextWriter no qual ocorrerá a gravação.

Aplica-se a

Write(XmlWriter)

Grava o esquema XML no XmlWriter fornecido.

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)

Parâmetros

writer
XmlWriter

O XmlWriter no qual ocorrerá a gravação.

Exceções

O parâmetro writer é nulo.

Aplica-se a

Write(Stream, XmlNamespaceManager)

Grava o esquema XML no Stream fornecido usando o XmlNamespaceManager especificado.

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)

Parâmetros

stream
Stream

O fluxo de dados fornecido.

Comentários

Observação

Fornecer um XmlNamespaceManager mapeamento de prefixo de namespace automático desabilita.

Aplica-se a

Write(TextWriter, XmlNamespaceManager)

Grava o esquema XML no TextWriter fornecido.

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)

Parâmetros

writer
TextWriter

O TextWriter no qual ocorrerá a gravação.

Comentários

Observação

Fornecer um XmlNamespaceManager mapeamento de prefixo de namespace automático desabilita.

Aplica-se a

Write(XmlWriter, XmlNamespaceManager)

Grava o esquema XML no XmlWriter fornecido.

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)

Parâmetros

writer
XmlWriter

O XmlWriter no qual ocorrerá a gravação.

Comentários

Observação

Fornecer um XmlNamespaceManager mapeamento de prefixo de namespace automático desabilita.

Aplica-se a