XmlDictionaryWriter Classe

Definição

Representa uma classe abstrata que o WCF (Windows Communication Foundation) deriva de XmlWriter para realizar serialização e desserialização.Represents an abstract class that Windows Communication Foundation (WCF) derives from XmlWriter to do serialization and deserialization.

public ref class XmlDictionaryWriter abstract : System::Xml::XmlWriter
public abstract class XmlDictionaryWriter : System.Xml.XmlWriter
type XmlDictionaryWriter = class
    inherit XmlWriter
Public MustInherit Class XmlDictionaryWriter
Inherits XmlWriter
Herança
XmlDictionaryWriter
Derivado

Comentários

Você pode derivar dessa classe para realizar outras funções do que a serialização.You can derive from this class to do other functions than serialization.

Observe que há um problema conhecido com a normalização de caracteres de avanço de chamada dentro de seções CDATA que você pode encontrar.Note that there is a known issue with the normalization of linefeed characters inside of CDATA sections that you may encounter.

Construtores

XmlDictionaryWriter()

Inicializa uma nova instância da classe XmlDictionaryWriter.Initializes a new instance of the XmlDictionaryWriter class.

Propriedades

CanCanonicalize

Essa propriedade sempre retorna false.This property always returns false. Suas classes derivadas podem substituir para retornar true se elas dão suporte à canonização.Its derived classes can override to return true if they support canonicalization.

Settings

Obtém o objeto XmlWriterSettings usado para criar essa instância XmlWriter.Gets the XmlWriterSettings object used to create this XmlWriter instance.

(Herdado de XmlWriter)
WriteState

Quando substituído em uma classe derivada, obtém o estado do gravador.When overridden in a derived class, gets the state of the writer.

(Herdado de XmlWriter)
XmlLang

Quando substituído em uma classe derivada, obtém o escopo xml:lang atual.When overridden in a derived class, gets the current xml:lang scope.

(Herdado de XmlWriter)
XmlSpace

Quando substituído em uma classe derivada, obtém um XmlSpace que representa o escopo xml:space atual.When overridden in a derived class, gets an XmlSpace representing the current xml:space scope.

(Herdado de XmlWriter)

Métodos

Close()

Quando substituído em uma classe derivada, fecha este fluxo e o fluxo subjacente.When overridden in a derived class, closes this stream and the underlying stream.

(Herdado de XmlWriter)
CreateBinaryWriter(Stream)

Cria uma instância do XmlDictionaryWriter que grava o formato XML binário do WCF.Creates an instance of XmlDictionaryWriter that writes WCF binary XML format.

CreateBinaryWriter(Stream, IXmlDictionary)

Cria uma instância do XmlDictionaryWriter que grava o formato XML binário do WCF.Creates an instance of XmlDictionaryWriter that writes WCF binary XML format.

CreateBinaryWriter(Stream, IXmlDictionary, XmlBinaryWriterSession)

Cria uma instância do XmlDictionaryWriter que grava o formato XML binário do WCF.Creates an instance of XmlDictionaryWriter that writes WCF binary XML format.

CreateBinaryWriter(Stream, IXmlDictionary, XmlBinaryWriterSession, Boolean)

Cria uma instância do XmlDictionaryWriter que grava o formato XML binário do WCF.Creates an instance of XmlDictionaryWriter that writes WCF binary XML format.

CreateDictionaryWriter(XmlWriter)

Cria uma instância de XmlDictionaryWriter com base em um XmlWriter existente.Creates an instance of XmlDictionaryWriter from an existing XmlWriter.

CreateMtomWriter(Stream, Encoding, Int32, String)

Cria uma instância de XmlDictionaryWriter que grava XML no formato MTOM.Creates an instance of XmlDictionaryWriter that writes XML in the MTOM format.

CreateMtomWriter(Stream, Encoding, Int32, String, String, String, Boolean, Boolean)

Cria uma instância de XmlDictionaryWriter que grava XML no formato MTOM.Creates an instance of XmlDictionaryWriter that writes XML in the MTOM format.

CreateTextWriter(Stream)

Cria uma instância do XmlDictionaryWriter que grava o XML do texto.Creates an instance of XmlDictionaryWriter that writes text XML.

CreateTextWriter(Stream, Encoding)

Cria uma instância do XmlDictionaryWriter que grava o XML do texto.Creates an instance of XmlDictionaryWriter that writes text XML.

CreateTextWriter(Stream, Encoding, Boolean)

Cria uma instância do XmlDictionaryWriter que grava o XML do texto.Creates an instance of XmlDictionaryWriter that writes text XML.

Dispose()

Libera todos os recursos usados pela instância atual da classe XmlWriter.Releases all resources used by the current instance of the XmlWriter class.

(Herdado de XmlWriter)
Dispose(Boolean)

Libera os recursos não gerenciados usados pelo XmlWriter e opcionalmente libera os recursos gerenciados.Releases the unmanaged resources used by the XmlWriter and optionally releases the managed resources.

(Herdado de XmlWriter)
DisposeAsync()

Realiza tarefas definidas pelo aplicativo associadas à liberação ou à redefinição de recursos não gerenciados de forma assíncrona.Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources asynchronously.

(Herdado de XmlWriter)
DisposeAsyncCore()

Realiza tarefas definidas pelo aplicativo associadas à liberação ou à redefinição de recursos gerenciados de forma assíncrona.Performs application-defined tasks associated with freeing, releasing, or resetting managed resources asynchronously.

(Herdado de XmlWriter)
EndCanonicalization()

Quando implementado por uma classe derivada, ele interrompe a canonicalização iniciada pela chamada StartCanonicalization(Stream, Boolean, String[]) correspondente.When implemented by a derived class, it stops the canonicalization started by the matching StartCanonicalization(Stream, Boolean, String[]) call.

Equals(Object)

Determina se o objeto especificado é igual ao objeto atual.Determines whether the specified object is equal to the current object.

(Herdado de Object)
Flush()

Quando substituído em uma classe derivada, libera o que está no buffer para os fluxos subjacentes e também libera o fluxo subjacente.When overridden in a derived class, flushes whatever is in the buffer to the underlying streams and also flushes the underlying stream.

(Herdado de XmlWriter)
FlushAsync()

Libera de maneira assíncrona tudo o que está no buffer para os fluxos subjacentes e também libera o fluxo subjacente.Asynchronously flushes whatever is in the buffer to the underlying streams and also flushes the underlying stream.

(Herdado de XmlWriter)
GetHashCode()

Serve como a função de hash padrão.Serves as the default hash function.

(Herdado de Object)
GetType()

Obtém o Type da instância atual.Gets the Type of the current instance.

(Herdado de Object)
LookupPrefix(String)

Quando substituído em uma classe derivada, retorna o prefixo mais próximo definido no escopo do namespace atual para o URI de namespace.When overridden in a derived class, returns the closest prefix defined in the current namespace scope for the namespace URI.

(Herdado de XmlWriter)
MemberwiseClone()

Cria uma cópia superficial do Object atual.Creates a shallow copy of the current Object.

(Herdado de Object)
StartCanonicalization(Stream, Boolean, String[])

Quando implementado por uma classe derivada, ele inicia a canonicalização.When implemented by a derived class, it starts the canonicalization.

ToString()

Retorna uma cadeia de caracteres que representa o objeto atual.Returns a string that represents the current object.

(Herdado de Object)
WriteArray(String, String, String, Boolean[], Int32, Int32)

Grava nós de uma matriz Boolean.Writes nodes from a Boolean array.

WriteArray(String, String, String, DateTime[], Int32, Int32)

Grava nós de uma matriz DateTime.Writes nodes from a DateTime array.

WriteArray(String, String, String, Decimal[], Int32, Int32)

Grava nós de uma matriz Decimal.Writes nodes from a Decimal array.

WriteArray(String, String, String, Double[], Int32, Int32)

Grava nós de uma matriz Double.Writes nodes from a Double array.

WriteArray(String, String, String, Guid[], Int32, Int32)

Grava nós de uma matriz Guid.Writes nodes from a Guid array.

WriteArray(String, String, String, Int16[], Int32, Int32)

Grava nós de uma matriz Int16.Writes nodes from a Int16 array.

WriteArray(String, String, String, Int32[], Int32, Int32)

Grava nós de uma matriz Int32.Writes nodes from a Int32 array.

WriteArray(String, String, String, Int64[], Int32, Int32)

Grava nós de uma matriz Int64.Writes nodes from a Int64 array.

WriteArray(String, String, String, Single[], Int32, Int32)

Grava nós de uma matriz Single.Writes nodes from a Single array.

WriteArray(String, String, String, TimeSpan[], Int32, Int32)

Grava nós de uma matriz TimeSpan.Writes nodes from a TimeSpan array.

WriteArray(String, XmlDictionaryString, XmlDictionaryString, Boolean[], Int32, Int32)

Grava nós de uma matriz Boolean.Writes nodes from a Boolean array.

WriteArray(String, XmlDictionaryString, XmlDictionaryString, DateTime[], Int32, Int32)

Grava nós de uma matriz DateTime.Writes nodes from a DateTime array.

WriteArray(String, XmlDictionaryString, XmlDictionaryString, Decimal[], Int32, Int32)

Grava nós de uma matriz Decimal.Writes nodes from a Decimal array.

WriteArray(String, XmlDictionaryString, XmlDictionaryString, Double[], Int32, Int32)

Grava nós de uma matriz Double.Writes nodes from a Double array.

WriteArray(String, XmlDictionaryString, XmlDictionaryString, Guid[], Int32, Int32)

Grava nós de uma matriz Guid.Writes nodes from a Guid array.

WriteArray(String, XmlDictionaryString, XmlDictionaryString, Int16[], Int32, Int32)

Grava nós de uma matriz Int16.Writes nodes from a Int16 array.

WriteArray(String, XmlDictionaryString, XmlDictionaryString, Int32[], Int32, Int32)

Grava nós de uma matriz Int32.Writes nodes from a Int32 array.

WriteArray(String, XmlDictionaryString, XmlDictionaryString, Int64[], Int32, Int32)

Grava nós de uma matriz Int64.Writes nodes from a Int64 array.

WriteArray(String, XmlDictionaryString, XmlDictionaryString, Single[], Int32, Int32)

Grava nós de uma matriz Single.Writes nodes from a Single array.

WriteArray(String, XmlDictionaryString, XmlDictionaryString, TimeSpan[], Int32, Int32)

Grava nós de uma matriz TimeSpan.Writes nodes from a TimeSpan array.

WriteAttributes(XmlReader, Boolean)

Quando substituído em uma classe derivada, grava todos os atributos localizados na posição atual no XmlReader.When overridden in a derived class, writes out all the attributes found at the current position in the XmlReader.

(Herdado de XmlWriter)
WriteAttributesAsync(XmlReader, Boolean)

Grava de forma assíncrona todos os atributos encontrados na posição atual no XmlReader.Asynchronously writes out all the attributes found at the current position in the XmlReader.

(Herdado de XmlWriter)
WriteAttributeString(String, String)

Quando substituído em uma classe derivada, grava o atributo com o nome local e o valor especificados.When overridden in a derived class, writes out the attribute with the specified local name and value.

(Herdado de XmlWriter)
WriteAttributeString(String, String, String)

Quando substituído em uma classe derivada, grava um atributo com o nome local, URI do namespace e o valor especificados.When overridden in a derived class, writes an attribute with the specified local name, namespace URI, and value.

(Herdado de XmlWriter)
WriteAttributeString(String, String, String, String)

Quando substituído em uma classe derivada, grava o atributo com o prefixo, nome local, URI do namespace e o valor especificados.When overridden in a derived class, writes out the attribute with the specified prefix, local name, namespace URI, and value.

(Herdado de XmlWriter)
WriteAttributeString(String, XmlDictionaryString, XmlDictionaryString, String)

Grava um nome qualificado e valor do atributo.Writes an attribute qualified name and value.

WriteAttributeString(XmlDictionaryString, XmlDictionaryString, String)

Grava um nome qualificado e valor do atributo.Writes an attribute qualified name and value.

WriteAttributeStringAsync(String, String, String, String)

Grava de forma assíncrona o atributo com o prefixo especificado, o nome local, o URI de namespace e o valor.Asynchronously writes out the attribute with the specified prefix, local name, namespace URI, and value.

(Herdado de XmlWriter)
WriteBase64(Byte[], Int32, Int32)

Quando substituído em uma classe derivada, codifica os bytes binários especificados como Base64 e grava o texto resultante.When overridden in a derived class, encodes the specified binary bytes as Base64 and writes out the resulting text.

(Herdado de XmlWriter)
WriteBase64Async(Byte[], Int32, Int32)

Codifica de forma assíncrona os bytes binários especificados como Base64 e grava o texto resultante.Asynchronously encodes the specified binary bytes as Base64 and writes out the resulting text.

WriteBase64Async(Byte[], Int32, Int32)

Codifica de forma assíncrona os bytes binários especificados como Base64 e grava o texto resultante.Asynchronously encodes the specified binary bytes as Base64 and writes out the resulting text.

(Herdado de XmlWriter)
WriteBinHex(Byte[], Int32, Int32)

Quando substituído em uma classe derivada, codifica os bytes binários especificados como BinHex e grava o texto resultante.When overridden in a derived class, encodes the specified binary bytes as BinHex and writes out the resulting text.

(Herdado de XmlWriter)
WriteBinHexAsync(Byte[], Int32, Int32)

Codifica de forma assíncrona os bytes binários especificados como BinHex e grava o texto resultante.Asynchronously encodes the specified binary bytes as BinHex and writes out the resulting text.

(Herdado de XmlWriter)
WriteCData(String)

Quando substituído em uma classe derivada, grava um bloco <![CDATA[...]]> que contém o texto especificado.When overridden in a derived class, writes out a <![CDATA[...]]> block containing the specified text.

(Herdado de XmlWriter)
WriteCDataAsync(String)

Grava de forma assíncrona um bloco <![CDATA[...]]> que contém o texto especificado.Asynchronously writes out a <![CDATA[...]]> block containing the specified text.

(Herdado de XmlWriter)
WriteCharEntity(Char)

Quando substituído em uma classe derivada, força a geração de uma entidade de caracteres para o valor especificado de caracteres Unicode.When overridden in a derived class, forces the generation of a character entity for the specified Unicode character value.

(Herdado de XmlWriter)
WriteCharEntityAsync(Char)

Força de forma assíncrona a geração de uma entidade de caracteres para o valor de caractere Unicode especificado.Asynchronously forces the generation of a character entity for the specified Unicode character value.

(Herdado de XmlWriter)
WriteChars(Char[], Int32, Int32)

Quando substituído em uma classe derivada, grava texto um buffer por vez.When overridden in a derived class, writes text one buffer at a time.

(Herdado de XmlWriter)
WriteCharsAsync(Char[], Int32, Int32)

Grava texto de forma assíncrona um buffer por vez.Asynchronously writes text one buffer at a time.

(Herdado de XmlWriter)
WriteComment(String)

Quando substituído em uma classe derivada, grava um comentário <!--...--> que contém o texto especificado.When overridden in a derived class, writes out a comment <!--...--> containing the specified text.

(Herdado de XmlWriter)
WriteCommentAsync(String)

Grava de forma assíncrona um comentário <!--...--> que contém o texto especificado.Asynchronously writes out a comment <!--...--> containing the specified text.

(Herdado de XmlWriter)
WriteDocType(String, String, String, String)

Quando substituído em uma classe derivada, grava a declaração DOCTYPE com o nome especificado e os atributos opcionais.When overridden in a derived class, writes the DOCTYPE declaration with the specified name and optional attributes.

(Herdado de XmlWriter)
WriteDocTypeAsync(String, String, String, String)

Grava de forma assíncrona a declaração DOCTYPE com o nome especificado e os atributos opcionais.Asynchronously writes the DOCTYPE declaration with the specified name and optional attributes.

(Herdado de XmlWriter)
WriteElementString(String, String)

Grava um elemento com o valor e o nome local especificados.Writes an element with the specified local name and value.

(Herdado de XmlWriter)
WriteElementString(String, String, String)

Grava um elemento com o nome local, URI de namespace e valor especificados.Writes an element with the specified local name, namespace URI, and value.

(Herdado de XmlWriter)
WriteElementString(String, String, String, String)

Grava um elemento com o prefixo, o nome local, o URI do namespace e o valor especificados.Writes an element with the specified prefix, local name, namespace URI, and value.

(Herdado de XmlWriter)
WriteElementString(String, XmlDictionaryString, XmlDictionaryString, String)

Grava um elemento com um conteúdo de texto.Writes an element with a text content.

WriteElementString(XmlDictionaryString, XmlDictionaryString, String)

Grava um elemento com um conteúdo de texto.Writes an element with a text content.

WriteElementStringAsync(String, String, String, String)

Grava de forma assíncrona um elemento com o prefixo especificado, o nome local, o URI de namespace e o valor.Asynchronously writes an element with the specified prefix, local name, namespace URI, and value.

(Herdado de XmlWriter)
WriteEndAttribute()

Quando substituído em uma classe derivada, fecha a chamada WriteStartAttribute(String, String) anterior.When overridden in a derived class, closes the previous WriteStartAttribute(String, String) call.

(Herdado de XmlWriter)
WriteEndAttributeAsync()

Fecha de forma assíncrona a chamada WriteStartAttribute(String, String) anterior.Asynchronously closes the previous WriteStartAttribute(String, String) call.

(Herdado de XmlWriter)
WriteEndDocument()

Quando substituído em uma classe derivada, fecha todos os elementos ou atributos abertos e coloca o gravador de volta no estado Inicial.When overridden in a derived class, closes any open elements or attributes and puts the writer back in the Start state.

(Herdado de XmlWriter)
WriteEndDocumentAsync()

Fecha de forma assíncrona os elementos ou atributos abertos e coloca o gravador de volta no estado Inicial.Asynchronously closes any open elements or attributes and puts the writer back in the Start state.

(Herdado de XmlWriter)
WriteEndElement()

Quando substituído em uma classe derivada, fecha um elemento e aciona o escopo de namespace correspondente.When overridden in a derived class, closes one element and pops the corresponding namespace scope.

(Herdado de XmlWriter)
WriteEndElementAsync()

Fecha de forma assíncrona um elemento e remove o escopo de namespace correspondente da pilha.Asynchronously closes one element and pops the corresponding namespace scope.

(Herdado de XmlWriter)
WriteEntityRef(String)

Quando substituído em uma classe derivada, grava uma referência de entidade como &name;.When overridden in a derived class, writes out an entity reference as &name;.

(Herdado de XmlWriter)
WriteEntityRefAsync(String)

Grava de forma assíncrona uma referência de entidade como &name;.Asynchronously writes out an entity reference as &name;.

(Herdado de XmlWriter)
WriteFullEndElement()

Quando substituído em uma classe derivada, fecha um elemento e aciona o escopo de namespace correspondente.When overridden in a derived class, closes one element and pops the corresponding namespace scope.

(Herdado de XmlWriter)
WriteFullEndElementAsync()

Fecha de forma assíncrona um elemento e remove o escopo de namespace correspondente da pilha.Asynchronously closes one element and pops the corresponding namespace scope.

(Herdado de XmlWriter)
WriteName(String)

Quando substituído em uma classe derivada, grava o nome especificado, garantindo que ele seja um nome válido de acordo com a recomendação do W3C XML 1.0 (https://www.w3.org/TR/1998/REC-xml-19980210#NT-Name).When overridden in a derived class, writes out the specified name, ensuring it is a valid name according to the W3C XML 1.0 recommendation (https://www.w3.org/TR/1998/REC-xml-19980210#NT-Name).

(Herdado de XmlWriter)
WriteNameAsync(String)

Grava de maneira assíncrona o nome especificado, garantindo que ele seja um nome válido de acordo com a recomendação do W3C XML 1.0 (https://www.w3.org/TR/1998/REC-xml-19980210#NT-Name).Asynchronously writes out the specified name, ensuring it is a valid name according to the W3C XML 1.0 recommendation (https://www.w3.org/TR/1998/REC-xml-19980210#NT-Name).

(Herdado de XmlWriter)
WriteNmToken(String)

Quando substituído em uma classe derivada, grava o nome especificado, garantindo que ele seja um NmToken válido de acordo com a recomendação do W3C XML 1.0 (https://www.w3.org/TR/1998/REC-xml-19980210#NT-Name).When overridden in a derived class, writes out the specified name, ensuring it is a valid NmToken according to the W3C XML 1.0 recommendation (https://www.w3.org/TR/1998/REC-xml-19980210#NT-Name).

(Herdado de XmlWriter)
WriteNmTokenAsync(String)

Grava de maneira assíncrona o nome especificado, garantindo que ele seja um NmToken válido de acordo com a recomendação do W3C XML 1.0 (https://www.w3.org/TR/1998/REC-xml-19980210#NT-Name).Asynchronously writes out the specified name, ensuring it is a valid NmToken according to the W3C XML 1.0 recommendation (https://www.w3.org/TR/1998/REC-xml-19980210#NT-Name).

(Herdado de XmlWriter)
WriteNode(XmlDictionaryReader, Boolean)

Grava o nó XML atual de um XmlDictionaryReader.Writes the current XML node from an XmlDictionaryReader.

WriteNode(XmlReader, Boolean)

Grava o nó XML atual de um XmlReader.Writes the current XML node from an XmlReader.

WriteNode(XPathNavigator, Boolean)

Copia tudo do objeto XPathNavigator no gravador.Copies everything from the XPathNavigator object to the writer. A posição do XPathNavigator permanece inalterada.The position of the XPathNavigator remains unchanged.

(Herdado de XmlWriter)
WriteNodeAsync(XmlReader, Boolean)

Copia de forma assíncrona tudo do leitor no gravador e move o leitor para o início do próximo irmão.Asynchronously copies everything from the reader to the writer and moves the reader to the start of the next sibling.

(Herdado de XmlWriter)
WriteNodeAsync(XPathNavigator, Boolean)

Copia de forma assíncrona tudo do objeto XPathNavigator para o gravador.Asynchronously copies everything from the XPathNavigator object to the writer. A posição do XPathNavigator permanece inalterada.The position of the XPathNavigator remains unchanged.

(Herdado de XmlWriter)
WriteProcessingInstruction(String, String)

Quando substituído em uma classe derivada, grava uma instrução de processamento com um espaço entre o nome e o texto da seguinte maneira: <?nome texto?>.When overridden in a derived class, writes out a processing instruction with a space between the name and text as follows: <?name text?>.

(Herdado de XmlWriter)
WriteProcessingInstructionAsync(String, String)

Grava de forma assíncrona uma instrução de processamento com um espaço entre o nome e o texto da seguinte maneira: <? nome texto?>.Asynchronously writes out a processing instruction with a space between the name and text as follows: <?name text?>.

(Herdado de XmlWriter)
WriteQualifiedName(String, String)

Quando substituído em uma classe derivada, grava o nome qualificado do namespace.When overridden in a derived class, writes out the namespace-qualified name. Este método pesquisa o prefixo que está no escopo para o namespace fornecido.This method looks up the prefix that is in scope for the given namespace.

(Herdado de XmlWriter)
WriteQualifiedName(XmlDictionaryString, XmlDictionaryString)

Grava o nome qualificado do namespace.Writes out the namespace-qualified name. Este método pesquisa o prefixo que está no escopo para o namespace fornecido.This method looks up the prefix that is in scope for the given namespace.

WriteQualifiedNameAsync(String, String)

Grava de forma assíncrona o nome qualificado do namespace.Asynchronously writes out the namespace-qualified name. Este método pesquisa o prefixo que está no escopo para o namespace fornecido.This method looks up the prefix that is in scope for the given namespace.

(Herdado de XmlWriter)
WriteRaw(Char[], Int32, Int32)

Quando substituído em uma classe derivada, grava a marcação bruta manualmente de um buffer de caracteres.When overridden in a derived class, writes raw markup manually from a character buffer.

(Herdado de XmlWriter)
WriteRaw(String)

Quando substituído em uma classe derivada, grava manualmente a marcação bruta de uma cadeia de caracteres.When overridden in a derived class, writes raw markup manually from a string.

(Herdado de XmlWriter)
WriteRawAsync(Char[], Int32, Int32)

Grava de forma assíncrona e manual a marcação bruta de um buffer de caracteres.Asynchronously writes raw markup manually from a character buffer.

(Herdado de XmlWriter)
WriteRawAsync(String)

Grava de forma assíncrona e manual a marcação bruta de uma cadeia de caracteres.Asynchronously writes raw markup manually from a string.

(Herdado de XmlWriter)
WriteStartAttribute(String)

Grava o início de um atributo com o nome do local especificado.Writes the start of an attribute with the specified local name.

(Herdado de XmlWriter)
WriteStartAttribute(String, String)

Grava o início de um atributo com o nome do local e o URI de namespace especificados.Writes the start of an attribute with the specified local name and namespace URI.

(Herdado de XmlWriter)
WriteStartAttribute(String, String, String)

Quando substituído em uma classe derivada, grava o início de um atributo com o prefixo especificado, o nome local e o URI de namespace.When overridden in a derived class, writes the start of an attribute with the specified prefix, local name, and namespace URI.

(Herdado de XmlWriter)
WriteStartAttribute(String, XmlDictionaryString, XmlDictionaryString)

Grava o início de um atributo com o prefixo especificado, o nome local e o URI do namespace.Writes the start of an attribute with the specified prefix, local name, and namespace URI.

WriteStartAttribute(XmlDictionaryString, XmlDictionaryString)

Grava o início de um atributo com o nome local especificado e o URI do namespace.Writes the start of an attribute with the specified local name, and namespace URI.

WriteStartAttributeAsync(String, String, String)

Grava de forma assíncrona o início de um atributo com o prefixo, o nome local e o URI de namespace especificados.Asynchronously writes the start of an attribute with the specified prefix, local name, and namespace URI.

(Herdado de XmlWriter)
WriteStartDocument()

Quando substituído em uma classe derivada, grava a declaração XML com a versão "1.0".When overridden in a derived class, writes the XML declaration with the version "1.0".

(Herdado de XmlWriter)
WriteStartDocument(Boolean)

Quando substituído em uma classe derivada, grava a declaração XML com a versão "1.0" e o atributo autônomo.When overridden in a derived class, writes the XML declaration with the version "1.0" and the standalone attribute.

(Herdado de XmlWriter)
WriteStartDocumentAsync()

Grava de forma assíncrona a declaração XML com a versão “1.0”.Asynchronously writes the XML declaration with the version "1.0".

(Herdado de XmlWriter)
WriteStartDocumentAsync(Boolean)

Grava de forma assíncrona a declaração XML com a versão “1.0” e o atributo autônomo.Asynchronously writes the XML declaration with the version "1.0" and the standalone attribute.

(Herdado de XmlWriter)
WriteStartElement(String)

Quando substituído em uma classe derivada, grava uma marca de início com o nome local especificado.When overridden in a derived class, writes out a start tag with the specified local name.

(Herdado de XmlWriter)
WriteStartElement(String, String)

Quando substituído em uma classe derivada, grava a marca de início especificada e a associa ao namespace específico.When overridden in a derived class, writes the specified start tag and associates it with the given namespace.

(Herdado de XmlWriter)
WriteStartElement(String, String, String)

Quando substituído em uma classe derivada, grava a marca de início especificada e a associa ao prefixo e ao namespace específicos.When overridden in a derived class, writes the specified start tag and associates it with the given namespace and prefix.

(Herdado de XmlWriter)
WriteStartElement(String, XmlDictionaryString, XmlDictionaryString)

Grava a marca de início especificada e a associa ao prefixo e ao namespace determinados.Writes the specified start tag and associates it with the given namespace and prefix.

WriteStartElement(XmlDictionaryString, XmlDictionaryString)

Grava a marca de início especificada e a associa ao namespace fornecido.Writes the specified start tag and associates it with the given namespace.

WriteStartElementAsync(String, String, String)

Grava de forma assíncrona a marca de início especificada e a associa ao namespace e ao prefixo fornecidos.Asynchronously writes the specified start tag and associates it with the given namespace and prefix.

(Herdado de XmlWriter)
WriteString(String)

Quando substituído em uma classe derivada, grava o conteúdo de texto especificado.When overridden in a derived class, writes the given text content.

(Herdado de XmlWriter)
WriteString(XmlDictionaryString)

Grava o conteúdo de texto especificado.Writes the given text content.

WriteStringAsync(String)

Grava de forma assíncrona o conteúdo de texto fornecido.Asynchronously writes the given text content.

(Herdado de XmlWriter)
WriteSurrogateCharEntity(Char, Char)

Quando substituído em uma classe derivada, gera e grava a entidade de caracteres alternativos para o par de caracteres alternativos.When overridden in a derived class, generates and writes the surrogate character entity for the surrogate character pair.

(Herdado de XmlWriter)
WriteSurrogateCharEntityAsync(Char, Char)

Gera e grava a entidade de caracteres alternativos de forma assíncrona para o par de caracteres alternativos.Asynchronously generates and writes the surrogate character entity for the surrogate character pair.

(Herdado de XmlWriter)
WriteTextNode(XmlDictionaryReader, Boolean)

Grava o nó de texto no qual um XmlDictionaryReader está posicionado no momento.Writes the text node that an XmlDictionaryReader is currently positioned on.

WriteValue(Boolean)

Grava um valor Boolean.Writes a Boolean value.

(Herdado de XmlWriter)
WriteValue(DateTime)

Grava um valor DateTime.Writes a DateTime value.

(Herdado de XmlWriter)
WriteValue(DateTimeOffset)

Grava um valor DateTimeOffset.Writes a DateTimeOffset value.

(Herdado de XmlWriter)
WriteValue(Decimal)

Grava um valor Decimal.Writes a Decimal value.

(Herdado de XmlWriter)
WriteValue(Double)

Grava um valor Double.Writes a Double value.

(Herdado de XmlWriter)
WriteValue(Guid)

Grava um valor Guid.Writes a Guid value.

WriteValue(Int32)

Grava um valor Int32.Writes a Int32 value.

(Herdado de XmlWriter)
WriteValue(Int64)

Grava um valor Int64.Writes a Int64 value.

(Herdado de XmlWriter)
WriteValue(IStreamProvider)

Grava um valor de um IStreamProvider.Writes a value from an IStreamProvider.

WriteValue(Object)

Grava o valor do objeto.Writes the object value.

(Herdado de XmlWriter)
WriteValue(Single)

Grava um número de ponto flutuante de precisão simples.Writes a single-precision floating-point number.

(Herdado de XmlWriter)
WriteValue(String)

Grava um valor String.Writes a String value.

(Herdado de XmlWriter)
WriteValue(TimeSpan)

Grava um valor TimeSpan.Writes a TimeSpan value.

WriteValue(UniqueId)

Grava um valor de Id exclusiva.Writes a Unique Id value.

WriteValue(XmlDictionaryString)

Grava um valor XmlDictionaryString.Writes a XmlDictionaryString value.

WriteValueAsync(IStreamProvider)

Grava de maneira assíncrona um valor de um IStreamProvider.Asynchronously writes a value from an IStreamProvider.

WriteWhitespace(String)

Quando substituído em uma classe derivada, grava o espaço em branco determinado.When overridden in a derived class, writes out the given white space.

(Herdado de XmlWriter)
WriteWhitespaceAsync(String)

Grava de forma assíncrona o espaço em branco determinado.Asynchronously writes out the given white space.

(Herdado de XmlWriter)
WriteXmlAttribute(String, String)

Grava um atributo XML padrão no nó atual.Writes a standard XML attribute in the current node.

WriteXmlAttribute(XmlDictionaryString, XmlDictionaryString)

Grava um atributo XML no nó atual.Writes an XML attribute in the current node.

WriteXmlnsAttribute(String, String)

Grava um atributo de declaração de namespace.Writes a namespace declaration attribute.

WriteXmlnsAttribute(String, XmlDictionaryString)

Grava um atributo de declaração de namespace.Writes a namespace declaration attribute.

Implantações explícitas de interface

IDisposable.Dispose()

Para obter uma descrição desse membro, confira Dispose().For a description of this member, see Dispose().

(Herdado de XmlWriter)

Métodos de Extensão

ConfigureAwait(IAsyncDisposable, Boolean)

Configura como as esperas nas tarefas retornadas de um descartável assíncrono são realizadas.Configures how awaits on the tasks returned from an async disposable are performed.

Aplica-se a