다음을 통해 공유


XamlXmlWriterSettings.CloseOutput 속성

정의

즉시 Dispose 닫아야 하는지 또는 다른 작업을 닫아야 하는지 XamlXmlWriter 또는 XAML 작성기가 닫기 전에 버퍼 출력을 대신 작성해야 하는지 여부를 지정하는 값을 가져오거나 설정합니다. 이 설정은 주의해서 사용합니다. 즉시 닫으면 다시 로드할 수 없는 잘못된 XAML이 발생할 수 있습니다.

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

속성 값

또는 유사한 작업에서 즉시 닫히면 /a0>입니다. false 나머지 버퍼 출력이 릴리스되기 전에 기록되면 XamlXmlWriter 입니다. 기본값은 false입니다.

설명

이 설정은 기본 XmlWriterTextWriter 또는 때 trueCloseOutput 를 호출 Close 하는 논리XamlXmlWriter.Dispose에 영향을 줍니다. 또는 기본에 다시 연결 XmlWriter 되거나 TextWriter있는 경우 falseCloseOutput 호출 Flush 합니다.

적용 대상