次の方法で共有


SPSimpleItem members

Provides methods to add, modify, or delete a simple list item and the fields associated with that item.

The SPSimpleItem type exposes the following members.

Constructors

  Name Description
Public method SPSimpleItem(SPFieldCollection, []) Initializes a new instance of the SPSimpleItem class with the specified fields and their values.
Public method SPSimpleItem(SPFieldCollection, String) Initializes a new instance of the SPSimpleItem class with the specified fields and their values.

Top

Properties

  Name Description
Public property AllRolesForCurrentUser Gets a full list of role definitions on the object to which the current user belongs on this scope. (Inherited from SPSecurableObject.)
Public property ClientFormItemData Gets a dictionary containing item properties used in CSR forms. (Inherited from SPItem.)
Public property EffectiveBasePermissions Reserved for future use. (Inherited from SPItem.)
Public property Fields Gets or sets the collection of fields for metadata associated with the item. (Inherited from SPItem.)
Public property FirstUniqueAncestor Obsolete. Use the FirstUniqueAncestorSecurableObject property instead. (Inherited from SPSecurableObject.)
Public property FirstUniqueAncestorSecurableObject Reserved for future use. (Inherited from SPItem.)
Public property HasUniqueRoleAssignments Indicates whether the object has unique role assignments or inherits its role assignments from a parent object. (Inherited from SPSecurableObject.)
Public property ID Gets or sets the ID of the item. (Inherited from SPItem.)
Public property Item[Int32] Gets or sets the value of the list item field based on the specified index value. (Overrides SPItem.Item[Int32].)
Public property Item[String] Gets or sets the value of the list item field based on the name of the field. (Overrides SPItem.Item[String].)
Public property ReusableAcl Reserved for future use. (Inherited from SPItem.)
Public property RoleAssignments Gets the role assignments for this securable object. (Inherited from SPSecurableObject.)
Public property Xml Gets the values, in XML format, of the fields associated with the list item.

Top

Methods

  Name Description
Public method BreakRoleInheritance(Boolean) Creates unique role assignments for the object and optionally copies role assignments from the parent. (Inherited from SPSecurableObject.)
Public method BreakRoleInheritance(Boolean, Boolean) Creates unique role assignments for the object, optionally copies role assignments from the parent, and optionally clears unique role assignments from descendants. (Inherited from SPSecurableObject.)
Public method CheckPermissions Determines whether the current user has a specified set of permissions. (Inherited from SPSecurableObject.)
Public method Delete Deletes the specified item, its field collection, and associated field data. (Overrides SPItem.Delete().)
Public method DoesUserHavePermissions Indicates whether the current user has a specified set of permissions. (Inherited from SPSecurableObject.)
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Public method GetUserEffectivePermissionInfo Reserved for future use. (Inherited from SPItem.)
Public method GetUserEffectivePermissions Reserved for future use. (Inherited from SPItem.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ResetRoleInheritance When implemented in a derived class, removes local role assignments so that role assignments, in all descendant objects, are re-inherited from the parent object. (Inherited from SPSecurableObject.)
Public method ToHashtable Creates an indexed table for efficient lookup of the value of the specified field.
Public method ToString (Inherited from Object.)
Public method Update Updates the specified item, its field collection, and associated field data. (Overrides SPItem.Update().)

Top

Fields

  Name Description
Protected field m_Fields Stores the field objects associated with the item. (Inherited from SPItem.)

Top

See also

Reference

SPSimpleItem class

Microsoft.SharePoint namespace