共用方式為


SPViewContext members

Include protected members
Include inherited members

提供檢視的內容的特定資訊。

The SPViewContext type exposes the following members.

Properties

  Name Description
Public property NeedToRedirect 取得布林值,這個值,指出與檢視相關聯的內容型別是否等於與檢視的根資料夾相關聯的內容類型。
Public property View 取得由檢視內容所述的檢視。
Public property ViewId 取得此檢視的檢視內所述的是識別項。
Public property ViewType 取得目前頁面中所描述的檢視內容的檢視類型。

Top

Methods

  Name Description
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method RedirectIfNecessary 當根資料夾的內容類型與檢視的內容類型,請執行 URL 重新導向到根資料夾的檢視。
Public method ToString (Inherited from Object.)

Top

請參閱

參照

SPViewContext class

Microsoft.SharePoint namespace