WriteState WriteState WriteState WriteState Enum

Definición

Especifica el estado de XmlWriter.Specifies the state of the XmlWriter.

public enum class WriteState
public enum WriteState
type WriteState = 
Public Enum WriteState
Herencia

Campos

Attribute Attribute Attribute Attribute 3

Indica que se escribe un valor de atributo.Indicates that an attribute value is being written.

Closed Closed Closed Closed 5

Indica que se ha llamado al método Close().Indicates that the Close() method has been called.

Content Content Content Content 4

Indica que se está escribiendo contenido del elemento.Indicates that element content is being written.

Element Element Element Element 2

Indica que se está escribiendo una etiqueta de apertura de elemento.Indicates that an element start tag is being written.

Error Error Error Error 6

Se ha iniciado una excepción que ha dejado XmlWriter en un estado no válido.An exception has been thrown, which has left the XmlWriter in an invalid state. Puede llamar al método Close() para poner XmlWriter en el estado Closed.You can call the Close() method to put the XmlWriter in the Closed state. Cualquier otra llamada al método XmlWriter hará que se inicie una excepción InvalidOperationException.Any other XmlWriter method calls results in an InvalidOperationException.

Este campo se agregó en .NET Framework 2.0.This field was added in .NET Framework 2.0.

Prolog Prolog Prolog Prolog 1

Indica que se escribe el prólogo.Indicates that the prolog is being written.

Start Start Start Start 0

Indica que todavía no se ha llamado a un método Write.Indicates that a Write method has not yet been called.

Se aplica a