IPageContainer<T> 介面

定義

定義 Page 的容器並公開 CurrentPage 屬性介面。

public interface IPageContainer<out T> where T : Page
type IPageContainer<'T (requires 'T :> Page)> = interface

類型參數

T
這是共變數的型別參數。 也就是說,您可以使用您指定的類型,或衍生程度較高的任何類型。 如需共變數與反變數的詳細資訊,請參閱泛型中的共變數與反變數
衍生

屬性

CurrentPage

取得目前的頁面。

適用於