View 成员

Specifies a list view.

View 类型公开以下成员。

构造函数

  名称 说明
公共方法 View Initializes a new instance of the SPView class.

页首

属性

  名称 说明
公共属性 Aggregations Gets or sets a value that specifies fields and functions that define totals shown in a list view.
公共属性 AggregationsStatus Gets or sets a value that specifies whether totals are shown in the list view.
公共属性 BaseViewId Gets a value that specifies the base view identifier of the list view.
公共属性 ContentTypeId Gets or sets the identifier of the content type with which the view is associated so that the view is available only on folders of this content type.
公共属性 Context Returns the context that is associated with the client object. (从 ClientObject 继承。)
公共属性 DefaultView Gets or sets a value that specifies whether the list view is the default list view.
公共属性 DefaultViewForContentType Gets or sets a value that specifies whether the list view is the default list view for the content type specified by ContentTypeId.
公共属性 EditorModified Gets or sets a value that specifies whether the list view was modified in an editor.
公共属性 Formats Gets or sets a value that specifies the column and row formatting for the list view.
公共属性 Hidden Gets or sets a value that specifies whether the list view is hidden.
公共属性 HtmlSchemaXml Gets a value that specifies the XML document that represents the list view.
公共属性 Id Gets a value that specifies the view identifier of the list view.
公共属性 ImageUrl Gets a value that specifies the URI (Uniform Resource Identifier) of the image for the list view.
公共属性 IncludeRootFolder Gets or sets a value that specifies whether the current folder is displayed in the list view.
公共属性 JSLink Specifies the JavaScript files used for the view.
公共属性 ListViewXml
公共属性 Method Gets or sets a value that specifies the view method for the list view.
公共属性 MobileDefaultView Gets or sets a value that specifies whether the list view is the default mobile list view.
公共属性 MobileView Gets or sets a value that specifies whether the list view is a mobile list view.
公共属性 ModerationType Gets a value that specifies the content approval type for the list view.
受保护的属性 ObjectData Gets the object data for the current client object. (从 ClientObject 继承。)
公共属性 ObjectVersion Gets a string that indicates the version of the current client object. 此成员仅供内部使用,不能直接在您的代码中使用。 (从 ClientObject 继承。)
公共属性 OrderedView Gets a value that specifies whether list items can be reordered in the list view.
公共属性 Paged Gets or sets a value that specifies whether the list view is a paged view.
公共属性 Path Tracks how a client object is created in the ClientRuntimeContext class so that the object can be recreated on the server. 此成员仅供内部使用,不能直接在您的代码中使用。 (从 ClientObject 继承。)
公共属性 PersonalView Gets a value that specifies whether the list view is a personal view.
公共属性 ReadOnlyView Gets a value that specifies whether the list view is read-only.
公共属性 RequiresClientIntegration Gets a value that specifies whether the list view requires client integration rights.
公共属性 RowLimit Gets or sets a value that specifies the maximum number of list items to display in a visual page of the list view.
公共属性 Scope Gets or sets a value that specifies the scope for the list view.
公共属性 ServerObjectIsNull Gets the server object and returns null if the server object is null. (从 ClientObject 继承。)
公共属性 ServerRelativeUrl Gets a value that specifies the server-relative URL of the list view page.
公共属性 StyleId Gets a value that specifies the identifier of the view style for the list view.
公共属性 Tag Gets or sets data that is associated with the client object. (从 ClientObject 继承。)
公共属性 Threaded Gets a value that specifies whether the list view is a threaded view.
公共属性 Title Gets or sets a value that specifies the display name of the list view.
公共属性 Toolbar Gets or sets a value that specifies the toolbar for the list view.
公共属性 ToolbarTemplateName Gets a value that specifies the name of the template for the toolbar that is used in the list view.
公共属性 TypedObject Gets the object with the correct type information returned from the server. (从 ClientObject 继承。)
公共属性 ViewData Gets or sets a value that specifies the view data for the list view.
公共属性 ViewFields Gets a value that specifies the collection of fields in the list view.
公共属性 ViewJoins Gets or sets a value that specifies the joins that are used in the list view.
公共属性 ViewProjectedFields Gets or sets a value that specifies the projected fields that will be used by the list view.
公共属性 ViewQuery Gets or sets a value that specifies the query that is used by the list view.
公共属性 ViewType Gets a value that specifies the type of the list view.
公共属性 VisualizationInfo

页首

方法

  名称 说明
受保护的方法 CheckUninitializedProperty Checks to determine whether the specified value type property of a ClientObject has been initialized. (从 ClientObject 继承。)
公共方法 CustomFromJson Returns a Boolean value that indicates whether custom code was used to populate an object. 此成员仅供内部使用,不能直接在您的代码中使用。 (从 ClientObject 继承。)
公共方法 DeleteObject Deletes the list view.
公共方法 FromJson Indicates whether custom code was used to populate an object. 此成员仅供内部使用,不能直接在您的代码中使用。 (从 ClientObject 继承。)
受保护的方法 InitNonPropertyFieldFromJson Initializes a non-property field of the client object based on JavaScript 对象表示法 (JSON) data from the server. 此成员仅供内部使用,不能直接在您的代码中使用。 (从 ClientObject 继承。)
受保护的方法 InitOnePropertyFromJson (覆盖 ClientObject.InitOnePropertyFromJson(String, JsonReader)。)
公共方法 IsObjectPropertyInstantiated Indicates whether the specified property of the client object is instantiated. (从 ClientObject 继承。)
公共方法 IsPropertyAvailable Returns a Boolean value that indicates whether the specified scalar property has been retrieved or set. (从 ClientObject 继承。)
受保护的方法 LoadExpandoFields Initializes the extended properties associated with the client object when overridden in a derived class. (从 ClientObject 继承。)
公共方法 RefreshLoad Reloads all scalar properties associated with the client object when overridden in a derived class. (从 ClientObject 继承。)
受保护的方法 RemoveFromParentCollection Removes the current client object from the parent client object collection. (从 ClientObject 继承。)
公共方法 RenderAsHtml Returns the list view as HTML.
公共方法 Retrieve() Retrieves all scalar properties associated with the object. 此成员仅供内部使用,不能直接在您的代码中使用。 (从 ClientObject 继承。)
公共方法 Retrieve([]) Retrieves the specified scalar properties associated with the object. 此成员仅供内部使用,不能直接在您的代码中使用。 (从 ClientObject 继承。)
公共方法 ToString (从 Object 继承。)
公共方法 Update Commits changed properties of the list view.
受保护的方法 UpdateClientObjectPropertyType Updates the client object property's value to have correct type by using the type information returned from the server. (从 ClientObject 继承。)

页首

另请参阅

引用

View 类

Microsoft.SharePoint.Client 命名空间