WriteState WriteState WriteState WriteState Enum

정의

XmlWriter의 상태를 지정합니다.Specifies the state of the XmlWriter.

public enum class WriteState
public enum WriteState
type WriteState = 
Public Enum WriteState
상속

필드

Attribute Attribute Attribute Attribute 3

특성 값을 쓰고 있음을 나타냅니다.Indicates that an attribute value is being written.

Closed Closed Closed Closed 5

Close() 메서드가 이미 호출되었음을 나타냅니다.Indicates that the Close() method has been called.

Content Content Content Content 4

요소 내용을 쓰고 있음을 나타냅니다.Indicates that element content is being written.

Element Element Element Element 2

요소 시작 태그를 쓰고 있음을 나타냅니다.Indicates that an element start tag is being written.

Error Error Error Error 6

예외가 throw되어 XmlWriter가 잘못된 상태에 있습니다.An exception has been thrown, which has left the XmlWriter in an invalid state. Close() 메서드를 호출하여 XmlWriterClosed 상태로 설정할 수 있습니다.You can call the Close() method to put the XmlWriter in the Closed state. 이외의 경우 XmlWriter 메서드를 호출하면 InvalidOperationException이 throw됩니다.Any other XmlWriter method calls results in an InvalidOperationException.

이 필드는 .NET Framework 2.0에서 추가되었습니다.This field was added in .NET Framework 2.0.

Prolog Prolog Prolog Prolog 1

프롤로그를 쓰고 있음을 나타냅니다.Indicates that the prolog is being written.

Start Start Start Start 0

Write 메서드가 아직 호출되지 않았음을 나타냅니다.Indicates that a Write method has not yet been called.

적용 대상