ListItem 成员
包括受保护的成员
包括继承的成员
Represents an item or row in a list.
ListItem 类型公开以下成员。
构造函数
名称 | 说明 | |
---|---|---|
ListItem | Initializes a new instance of the ListItem object. |
页首
属性
名称 | 说明 | |
---|---|---|
AttachmentFiles | Specifies the collection of attachments that are associated with the list item. | |
Client_Title | ||
ContentType | Gets a value that specifies the content type of the list item. | |
Context | Returns the context that is associated with the client object. (从 ClientObject 继承。) | |
DisplayName | Gets a value that specifies the display name of the list item. | |
EffectiveBasePermissions | Gets a value that specifies the effective permissions on the list item that are assigned to the current user. | |
EffectiveBasePermissionsForUI | Gets the effective base permissions for the current user, as they should be displayed in UI. | |
FieldValues | ||
FieldValuesAsHtml | Gets the values for the list item as HTML. | |
FieldValuesAsText | Gets the list item’s field values as a collection of string values. | |
FieldValuesForEdit | Gets the formatted values to be displayed in an edit form. | |
File | Gets the file that is represented by the item from a document library. | |
FileSystemObjectType | Gets a value that specifies whether the list item is a file or a list folder. | |
FirstUniqueAncestorSecurableObject | Gets the object where role assignments for this object are defined. (从 SecurableObject 继承。) | |
Folder | Gets a folder object that is associated with a folder item. | |
GetDlpPolicyTip | ||
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 继承。) | |
Id | Gets a value that specifies the list item identifier. | |
Item | ||
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 继承。) | |
ParentList | Gets the parent list that contains the list item. | |
Path | Tracks how a client object is created in the ClientRuntimeContext class so that the object can be recreated on the server. 此成员仅供内部使用,不能直接在您的代码中使用。 (从 ClientObject 继承。) | |
RoleAssignments | Gets the role assignments for the securable object. (从 SecurableObject 继承。) | |
ServerObjectIsNull | Gets the server object and returns null if the server object is null. (从 ClientObject 继承。) | |
Tag | Gets or sets data that is associated with the client object. (从 ClientObject 继承。) | |
TypedObject | Gets the object with the correct type information returned from the server. (从 ClientObject 继承。) |
页首
方法
名称 | 说明 | |
---|---|---|
AddHashTag | ||
BreakRoleInheritance | Creates unique role assignments for the securable object. (从 SecurableObject 继承。) | |
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 item. | |
FromJson | Indicates whether custom code was used to populate an object. 此成员仅供内部使用,不能直接在您的代码中使用。 (从 ClientObject 继承。) | |
GetChanges | ||
GetUserEffectivePermissions | Gets the effective permissions that a specified user has on the list item. | |
GetWOPIFrameUrl | Gets the full URL to the SharePoint frame page that initiates the SPWOPIAction object with the WOPI application associated with the list item. | |
InitNonPropertyFieldFromJson | (覆盖 ClientObject.InitNonPropertyFieldFromJson(String, JsonReader)。) | |
InitOnePropertyFromJson | (覆盖 SecurableObject.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 | (覆盖 ClientObject.LoadExpandoFields()。) | |
OverridePolicyTip | ||
ParseAndSetFieldValue | Sets the value of the field for the list item based on an implementation specific transformation of the value. | |
Recycle | Moves the list item to the Recycle Bin and returns the identifier of the new Recycle Bin item. | |
RefreshLoad | (覆盖 ClientObject.RefreshLoad()。) | |
RemoveFromParentCollection | Removes the current client object from the parent client object collection. (从 ClientObject 继承。) | |
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() | 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 item. | |
UpdateClientObjectPropertyType | Updates the client object property's value to have correct type by using the type information returned from the server. (从 ClientObject 继承。) | |
ValidateUpdateListItem |
页首