PageContent.GetPageRoot(Boolean) メソッド

定義

FixedPageコンテンツ要素を読み込んで返します。

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

パラメーター

forceReload
Boolean

true以前に読み込まれてキャッシュされている場合でも、FixedPageを常に再読み込みする場合は。キャッシュされたバージョンがない場合にのみfalseを読み込むFixedPage

返品

このページのビジュアル ツリーのルート要素。

注釈

GetPageRoot は、 FixedPageの同期読み込みと解析を実行します。

Note

GetPageRootAsyncの読み込み中にスレッドのブロックを回避するには、GetPageRootの代わりにFixedPageを使用します。

適用対象