共用方式為


SPView members

Include protected members
Include inherited members

表示包含在 SharePoint 網站上的清單中的資料檢視。

The SPView type exposes the following members.

Constructors

  Name Description
Public method SPView 初始化SPView類別的新執行個體。

Top

Properties

  Name Description
Public property Aggregations 取得或設定一或多個彙總,或合計的資料行用於檢視中的欄位參考。
Public property AggregationsStatus 取得或設定 string,其指定是否要在檢視中使用彙總,或合計的資料行。
Public property BaseViewID 取得檢視的基底檢視識別碼。
Public property CalendarSettings 取得或設定字串資料的行事曆特定的組態設定。
Public property ContentTypeId 取得或設定與檢視是相關聯,以便只在此內容類型的資料夾的檢視是可用的內容類型的識別碼。
Public property CssStyleSheet 取得階層式樣式表 (CSS) 由檢視結構描述的CssStyleSheet屬性所指定的檔案名稱。
Public property DefaultView 取得或設定布林值,指定檢視是否為預設檢視。
Public property DefaultViewForContentType 取得或設定布林值,這個值指定檢視是否為相關聯的內容類型的預設檢視。
Public property EditorModified 取得布林值,這個值表示檢視是否已在 HTML 編輯器中修改。
Public property Formats 取得或設定在資料工作表檢視中的資料行和資料列格式化所使用的定義。
Public property GroupByFooter 取得或設定在檢視中群組的頁尾所使用的定義。
Public property GroupByHeader 取得或設定檢視中使用的群組依據 」 標頭的定義。
Public property Hidden 取得或設定布林值,指定是否要隱藏的檢視。
Public property HtmlSchemaXml 取得整個結構描述檢視。
Public property ID 取得識別的 GUID。
Public property ImageUrl 取得清單檢視相關聯之影像的 URL。
Public property IncludeRootFolder 取得或設定布林值,指定是否在清單檢視中傳回的根資料夾。
Public property InlineEdit 取得或設定 string,其指定檢視是否是內嵌編輯模式。
Public property Joins 取得或設定 [聯結] 項目區段定義檢視表的 xml。
Public property JS JS-檢視的屬性指定用於檢視內嵌 javascript。
Public property JSLink JSLink-檢視的屬性指定用於檢視的 Javascript 檔案。
Public property Level 取得顯示在檢視中的文件的發行集的層級。
Public property Method 取得或設定 [清單] 檢視的檢視方法。
Public property MobileDefaultView 取得或設定布林值,這個值指定檢視是否為行動裝置的預設檢視。
Public property MobileItemLimit 取得或設定若要顯示在清單檢視網頁組件 (ListViewWebPartMobileAdapterXsltListViewWebPartMobileAdapter) 的行動配接器的摘要版本的清單項目的最大數目。
Public property MobileSimpleViewField 取得或設定顯示的欄位名稱清單的簡單行動檢視中。
Public property MobileUrl 取得行動的清單檢視網頁的網站相對 URL。
Public property MobileView 取得或設定布林值,指定檢視是否套用至行動裝置。
Public property ModerationType 取得檢視中的內容核准型別。
Public property OpenApplicationExtension 取得或設定要用來編輯檢視的應用程式的類型。
Public property OrderedView 取得布林值,這個值,指出使用者是否可以重新排列透過使用者介面項目。
Public property Paged 取得或設定布林值,這個值表示檢視是否會顯示項目--逐頁,以包含最多RowLimit項目的每一頁。
Public property ParameterBindings 檢視指定其參數繫結的屬性。取得或設定這些繫結。
Public property ParentList 取得父清單檢視。
Public property PersonalView 取得布林值,這個值,指出是否要個人化檢視。
Public property ProjectedFields 取得或設定ProjectedFields項目的 XML 檢視中,會條列聯結的外部索引清單中的欄位。
Public property PropertiesXml 取得屬性的檢視,包括 GUID、 類型、 顯示名稱、 URL,以及基底檢視的識別碼。
Public property Query 取得或設定字串,包含檢視的查詢。
Public property ReadOnlyView 取得布林值,表示檢視是否為唯讀。
Public property RecurrenceRowset 取得布林值,這個值表示檢視是否支援循環資料列集。
Public property RequiresClientIntegration 取得布林值,這個值表示檢視是否需要用戶端整合。
Public property RowLimit 取得或設定在每一頁的檢視表查詢中傳回的項目數的限制。
Public property RowLimitExceeded 取得或設定替代的呈現,當超過RowLimit屬性所設定的值。
Public property SchemaXml 取得結構描述定義檢視。
Public property Scope 取得或設定文件庫的檢視的遞迴範圍。
Public property ServerRelativeUrl 取得檢視網頁的伺服器相對 URL。
Public property StyleID 取得檢視中的檢視樣式的 ID。
Public property TabularView 取得或設定是否清單檢視應包括大量作業核取方塊,如果目前的 [清單] 檢視支援它們。
Public property Threaded 取得布林值,這個值表示檢視是否限制執行緒。
Public property Title 取得或設定檢視的顯示名稱。
Public property TitleResource 取得對應至欄位的 [標題] 屬性的資源物件。
Public property Toolbar 取得或設定 [檢視] 工具列。
Public property ToolbarTemplateName 取得用來檢視] 工具列上的預先定義的工具列範本名稱。
Public property ToolbarType 在檢視中取得工具列所使用的型別。
Public property Type 取得檢視的型別。
Public property Url 取得網站相對的 URL,包含檢視的頁面。
Public property ViewBody 取得或設定檢視的主體。
Public property ViewData 取得或設定與檢視相關聯的其他屬性的結構描述定義。
Public property ViewEmpty 取得或設定當查詢傳回沒有清單的資料檢視顯示的內容。
Public property ViewFields 取得檢視中使用的檢視欄位。
Public property ViewFooter 取得或設定頁尾區的檢視。
Public property ViewHeader 取得或設定頁首區域的檢視。
Public property Views 取得父檢視檢視表的集合。
Public property Xsl 取得或設定內嵌用於檢視的 XSL。
Public property XslLink 指定檢視所使用的 XSL 檔案屬性。取得或設定的 XSL 檔案。

Top

Methods

  Name Description
Public method AllowsField 傳回布林值,指出是否可以在檢視中顯示指定的欄位。
Public method ApplyStyle 對檢視套用指定的樣式。
Public method Clone 建立並傳回檢視的複本。
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetAggregationString 傳回實作彙總,或總計的檢視清單資料行的公式。
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Public method GetViewXml 傳回檢視的結構描述。
Protected method MemberwiseClone (Inherited from Object.)
Public methodStatic member OptOutTabularView 靜態方法,以更新資料庫中的 Web 組件資料表藉由切換關閉TabularView旗標。
Public method RenderAsHtml() 傳回的檢視,以 HTML 格式。
Public method RenderAsHtml(Boolean, Boolean, String) 傳回以 HTML 格式的檢視,但允許的框架組中的呈現。
Public method SetViewXml 設定檢視結構描述的結構描述。
Public method ToString 傳回檢視的標題。 (Overrides Object.ToString().)
Public method Update 對檢視進行的變更來更新資料庫。

Top

請參閱

參照

SPView class

Microsoft.SharePoint namespace