Элементы List

Represents a list on a SharePoint Web site.

Тип List предоставляет следующие элементы.

Конструкторы

  Имя Описание
Общий метод List Initializes a new instance of the List object.

Вверх

Свойства

  Имя Описание
Общее свойство AllowContentTypes Gets a value that specifies whether the list supports content types.
Общее свойство BaseTemplate Gets the list definition type on which the list is based.
Общее свойство BaseType Gets the base type for the list.
Общее свойство BrowserFileHandling Gets a value that specifies the override of the web application’s BrowserFileHandling property at the list level.
Общее свойство ContentTypes Gets the content types that are associated with the list.
Общее свойство ContentTypesEnabled Gets or sets a value that specifies whether content types are enabled for the list.
Общее свойство Context Возвращает контекст, связанное с клиентского объекта. (Унаследовано от ClientObject.)
Общее свойство CrawlNonDefaultViews
Общее свойство CreatablesInfo
Общее свойство Created Gets a value that specifies when the list was created.
Общее свойство CurrentChangeToken
Общее свойство CustomActionElements
Общее свойство DataSource Gets the data source associated with the list, or пустая ссылка (Nothing в Visual Basic) if the list is not a virtual list.
Общее свойство DefaultContentApprovalWorkflowId Gets or sets a value that specifies the default workflow identifier for content approval on the list.
Общее свойство DefaultDisplayFormUrl Gets or sets a value that specifies the location of the default display form for the list.
Общее свойство DefaultEditFormUrl Gets or sets a value that specifies the URL of the edit form to use for list items in the list.
Общее свойство DefaultNewFormUrl Gets or sets a value that specifies the location of the default new form for the list.
Общее свойство DefaultView
Общее свойство DefaultViewUrl Gets the URL of the default view for the list.
Общее свойство Description Gets or sets a value that specifies the description of the list.
Общее свойство DescriptionResource
Общее свойство Direction Gets or sets a value that specifies the reading order of the list.
Общее свойство DocumentTemplateUrl Gets or sets a value that specifies the server-relative URL of the document template for the list.
Общее свойство DraftVersionVisibility Gets or sets a value that specifies the minimum permission required to view minor versions and drafts within the list.
Общее свойство EffectiveBasePermissions Gets a value that specifies the effective permissions on the list that are assigned to the current user.
Общее свойство EffectiveBasePermissionsForUI
Общее свойство EnableAttachments Gets or sets a value that specifies whether list item attachments are enabled for the list.
Общее свойство EnableFolderCreation Gets or sets a value that specifies whether new list folders can be added to the list.
Общее свойство EnableMinorVersions Gets or sets a value that specifies whether minor versions are enabled for the list.
Общее свойство EnableModeration Gets or sets a value that specifies whether content approval is enabled for the list.
Общее свойство EnableVersioning Gets or sets a value that specifies whether historical versions of list items and documents can be created in the list.
Общее свойство EntityTypeName
Общее свойство EventReceivers
Общее свойство Fields Gets a value that specifies the collection of all fields in the list.
Общее свойство FileSavePostProcessingEnabled
Общее свойство FirstUniqueAncestorSecurableObject Gets the object where role assignments for this object are defined. (Унаследовано от SecurableObject.)
Общее свойство ForceCheckout
Общее свойство Forms Gets a value that specifies the collection of all list forms in the list.
Общее свойство HasExternalDataSource Gets a value that specifies whether the list is an external list.
Общее свойство HasUniqueRoleAssignments Gets a value that specifies whether the role assignments are uniquely defined for this securable object or inherited from a parent securable object. (Унаследовано от SecurableObject.)
Общее свойство Hidden Gets or sets a Boolean value that specifies whether the list is hidden.
Общее свойство Id Gets the GUID that identifies the list in the database.
Общее свойство ImageUrl Gets a value that specifies the URI for the icon of the list.
Общее свойство InformationRightsManagementSettings
Общее свойство IrmEnabled
Общее свойство IrmExpire
Общее свойство IrmReject
Общее свойство IsApplicationList Gets or sets a value that specifies a flag that a client application can use to determine whether to display the list.
Общее свойство IsCatalog Gets a value that specifies whether the list is a gallery.
Общее свойство IsPrivate
Общее свойство IsSiteAssetsLibrary
Общее свойство ItemCount Gets a value that specifies the number of list items in the list.
Общее свойство LastItemDeletedDate Gets a value that specifies the last time a list item was deleted from the list.
Общее свойство LastItemModifiedDate Gets a value that specifies the last time a list item, field, or property of the list was modified.
Общее свойство ListItemEntityTypeFullName
Общее свойство MajorVersionLimit
Общее свойство MajorWithMinorVersionsLimit
Общее свойство MultipleDataList
Общее свойство NoCrawl Gets or sets a value that specifies that the crawler must not crawl the list.
Защищенное свойство ObjectData Для текущего объекта клиент получает данные объекта. (Унаследовано от ClientObject.)
Общее свойство ObjectVersion Возвращает строку, которая показывает версия объекта клиента. Этот элемент зарезервирован для внутреннего использования и не предназначен для прямого применения в коде. (Унаследовано от ClientObject.)
Общее свойство OnQuickLaunch Gets or sets a value that specifies whether the list appears on the Quick Launch of the site.
Общее свойство ParentWeb Gets a value that specifies the site that contains the list.
Общее свойство ParentWebUrl Gets a value that specifies the server-relative URL of the site that contains the list.
Общее свойство ParserDisabled
Общее свойство Path Отслеживает как объект клиента при их создании в классе ClientRuntimeContext таким образом, чтобы объект можно воссоздать на сервере. Этот элемент зарезервирован для внутреннего использования и не предназначен для прямого применения в коде. (Унаследовано от ClientObject.)
Общее свойство RoleAssignments Gets the role assignments for the securable object. (Унаследовано от SecurableObject.)
Общее свойство RootFolder Gets the root folder that contains the files in the list and any related files.
Общее свойство SchemaXml Gets a value that specifies the list schema of the list.
Общее свойство ServerObjectIsNull Возвращает серверный объект и возвращает значение null, если объект сервера равно null. (Унаследовано от ClientObject.)
Общее свойство ServerTemplateCanCreateFolders
Общее свойство Tag Возвращает или задает данные, связанные с объектом клиента. (Унаследовано от ClientObject.)
Общее свойство TemplateFeatureId Gets a value that specifies the feature identifier of the feature that contains the list schema for the list.
Общее свойство Title Gets or sets the displayed title for the list.
Общее свойство TitleResource
Общее свойство TypedObject Возвращает объект с правильный тип сведений, возвращенных на сервере. (Унаследовано от ClientObject.)
Общее свойство UserCustomActions Gets a value that specifies the collection of all user custom actions for the list.
Общее свойство ValidationFormula Gets or sets a value that specifies the data validation criteria for a list item.
Общее свойство ValidationMessage Gets or sets a value that specifies the error message returned when data validation fails for a list item.
Общее свойство Views Gets a value that specifies the collection of all public views on the list and personal views of the current user on the list.
Общее свойство WorkflowAssociations Gets a value that specifies the collection of all workflow associations for the list.

Вверх

Методы

  Имя Описание
Общий метод AddItem Creates a new list item in the list.
Общий метод BreakRoleInheritance Creates unique role assignments for the securable object. (Унаследовано от SecurableObject.)
Защищенный метод CheckUninitializedProperty Проверяет, ли свойство заданное значение type ClientObject инициировано. (Унаследовано от ClientObject.)
Общий метод CreateDocument
Общий метод CreateDocumentAndGetEditLink
Общий метод CreateDocumentFromTemplate
Общий метод CreateDocumentFromTemplateBytes
Общий метод CreateDocumentFromTemplateStream
Общий метод CreateDocumentWithDefaultName
Общий метод CustomFromJson Возвращает значение типа Boolean, указывающее использовалось ли пользовательского кода для заполнения объекта. Этот элемент зарезервирован для внутреннего использования и не предназначен для прямого применения в коде. (Унаследовано от ClientObject.)
Общий метод DeleteObject Deletes the list.
Общий метод FromJson Указывает, использовалось ли пользовательского кода для заполнения объекта. Этот элемент зарезервирован для внутреннего использования и не предназначен для прямого применения в коде. (Унаследовано от ClientObject.)
Общий метод GetChanges Returns the collection of changes from the change log that have occurred within the list, based on the specified query.
Общий метод GetItemById(Int32) Returns the list item with the specified list item identifier.
Общий метод GetItemById(String)
Общий метод GetItems Returns a collection of items from the list based on the specified query.
Общий метод GetRelatedFields Returns a collection of lookup fields that use this list as a data source and that have FieldLookup.IsRelationship set to true.
Общий метод GetSpecialFolderUrl
Общий метод GetUserEffectivePermissions
Общий метод GetView Returns the list view with the specified view identifier.
Общий метод GetWebDavUrl
Защищенный метод InitNonPropertyFieldFromJson Выполняет инициализацию поля не свойства объекта клиента, на основе данных Нотация объектов JavaScript (JSON) с сервера. Этот элемент зарезервирован для внутреннего использования и не предназначен для прямого применения в коде. (Унаследовано от ClientObject.)
Защищенный метод InitOnePropertyFromJson (Переопределяет SecurableObject.InitOnePropertyFromJson(String, JsonReader).)
Общий метод IsObjectPropertyInstantiated Указывает, создается ли свойство указанного объекта клиента. (Унаследовано от ClientObject.)
Общий метод IsPropertyAvailable Возвращает значение типа Boolean, указывающее, имеет ли свойство скалярное получить или задать. (Унаследовано от ClientObject.)
Защищенный метод LoadExpandoFields Выполняет инициализацию расширенные свойства, связанные с объектом клиент переопределение производных классов. (Унаследовано от ClientObject.)
Общий метод Recycle Moves the list to the Recycle Bin and returns the identifier of the new Recycle Bin item.
Общий метод RefreshLoad Перезагрузка все скалярные свойствах, связанных с клиентского объекта переопределение производных классов. (Унаследовано от ClientObject.)
Защищенный метод RemoveFromParentCollection Удаляет текущий объект клиента из коллекции родительского объекта клиента. (Унаследовано от ClientObject.)
Общий метод RenderExtendedListFormData
Общий метод RenderListContextMenuData
Общий метод RenderListData
Общий метод RenderListDataAsStream
Общий метод RenderListFilterData
Общий метод RenderListFormData
Общий метод ReserveListItemId
Общий метод ResetRoleInheritance When implemented in a derived class, removes local role assignments so that role assignments, for all descendant objects, are re-inherited from the parent object. (Унаследовано от SecurableObject.)
Общий метод Retrieve() Извлекает все скалярные свойства, связанные с объектом. Этот элемент зарезервирован для внутреннего использования и не предназначен для прямого применения в коде. (Унаследовано от ClientObject.)
Общий метод Retrieve([]) Возвращает указанное скалярное свойствах, связанных с объектом. Этот элемент зарезервирован для внутреннего использования и не предназначен для прямого применения в коде. (Унаследовано от ClientObject.)
Общий метод SaveAsNewView
Общий метод ToString (Унаследовано от Object.)
Общий метод Update Updates the database with changes that are made to the list.
Защищенный метод UpdateClientObjectPropertyType Обновляет свойства объекта клиента значение должно иметь правильный тип с помощью тип сведений, возвращенных на сервере. (Унаследовано от ClientObject.)

Вверх

См. также

Справочные материалы

List класс

Пространство имен Microsoft.SharePoint.Client