DocumentReference.GetDocument(Boolean) 메서드

정의

속성 위치에 지정된 Source 문서를 동기적으로 로드하고 구문 분석합니다.

public:
 System::Windows::Documents::FixedDocument ^ GetDocument(bool forceReload);
public System.Windows.Documents.FixedDocument GetDocument(bool forceReload);
member this.GetDocument : bool -> System.Windows.Documents.FixedDocument
Public Function GetDocument (forceReload As Boolean) As FixedDocument

매개 변수

forceReload
Boolean

true 이전에 로드된 경우에도 문서의 새 로드 Source 를 강제로 적용합니다.

반품

로드된 문서입니다.

설명

문서가 이전에 GetDocument 로드되지 않은 경우 매개 변수 forceReload 가 있는지 여부에 truefalse관계없이 문서를 로드합니다.

문서가 이전에 forceReload 로드되어 지정된 false경우 문서가 다시 로드되지 않고 이전에 로드된 문서가 반환됩니다.

지정forceReload한 경우 true 이전에 이미 검색된 경우에도 전체 문서가 다시 로드되고 다시 구문 분석됩니다.

적용 대상