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.

  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

  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 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

  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 Removes local role assignments and inherits role assignments 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

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