PageContent.GetPageRoot(Boolean) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
載入並回傳 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
參數
傳回
本頁視覺樹的根元素。
備註
GetPageRoot執行同步載入與解析。FixedPage
Note
用 代替GetPageRootAsyncGetPageRoot代替,避免裝載時FixedPage線頭阻塞。