DocumentViewerBase.GetPageViewsCollection(Boolean) 方法

定義

建立並傳回 DocumentPageView 物件的新唯讀集合,這些物件與目前顯示文件 (以 Document 屬性表示) 相關聯。

protected:
 virtual System::Collections::ObjectModel::ReadOnlyCollection<System::Windows::Controls::Primitives::DocumentPageView ^> ^ GetPageViewsCollection([Runtime::InteropServices::Out] bool % changed);
protected virtual System.Collections.ObjectModel.ReadOnlyCollection<System.Windows.Controls.Primitives.DocumentPageView> GetPageViewsCollection (out bool changed);
abstract member GetPageViewsCollection : bool -> System.Collections.ObjectModel.ReadOnlyCollection<System.Windows.Controls.Primitives.DocumentPageView>
override this.GetPageViewsCollection : bool -> System.Collections.ObjectModel.ReadOnlyCollection<System.Windows.Controls.Primitives.DocumentPageView>
Protected Overridable Function GetPageViewsCollection (ByRef changed As Boolean) As ReadOnlyCollection(Of DocumentPageView)

參數

changed
Boolean

如果是第一次呼叫 GetPageViewsCollection(Boolean),或自上次 GetPageViewsCollection(Boolean) 呼叫後尚未變更集合,則傳回 true;如果自最後一次 GetPageViewsCollection(Boolean) 呼叫後已變更集合,則傳回 false

傳回

ReadOnlyCollection<DocumentPageView>

與目前顯示文件相關聯之 DocumentPageView 物件的唯讀集合。

備註

提供 DocumentPageView 基礎 DocumentPage) 所代表之特定內容頁面 (的檢視區。

適用於

另請參閱