XmlWriterSettings.WriteEndDocumentOnClose 속성

정의

메서드가 호출될 때 XmlWriter 닫히지 않은 모든 요소 태그에 닫는 태그를 추가할지 여부를 Close() 나타내는 값을 가져오거나 설정합니다.

public:
 property bool WriteEndDocumentOnClose { bool get(); void set(bool value); };
public bool WriteEndDocumentOnClose { get; set; }
member this.WriteEndDocumentOnClose : bool with get, set
Public Property WriteEndDocumentOnClose As Boolean

속성 값

true닫지 않은 요소 태그가 모두 닫혀 있으면 이고, 그렇지 않으면 . false 기본값은 true입니다.

설명

이 플래그를 false설정하면 출력 XML 파일의 형식이 잘못되었을 수 있습니다.

적용 대상