共用方式為


SPSimpleItem members

Include protected members
Include inherited members

提供方法來新增、 修改或刪除一個簡單的清單項目和該項目相關聯的欄位。

The SPSimpleItem type exposes the following members.

Constructors

  Name Description
Public method SPSimpleItem(SPFieldCollection, []) 初始化具有指定的欄位和它們的值之SPSimpleItem類別的新執行個體。
Public method SPSimpleItem(SPFieldCollection, String) 初始化具有指定的欄位和它們的值之SPSimpleItem類別的新執行個體。

Top

Properties

  Name Description
Public property AllRolesForCurrentUser 取得目前的使用者所屬的物件上的角色定義的完整清單,對此範圍。 (Inherited from SPSecurableObject.)
Public property ClientFormItemData 取得字典,包含用 CSR 表單中的項目屬性。 (Inherited from SPItem.)
Public property EffectiveBasePermissions Reserved for future use. (Inherited from SPItem.)
Public property Fields 取得或設定項目相關聯的中繼資料的欄位集合。 (Inherited from SPItem.)
Public property FirstUniqueAncestor Obsolete. 請改用 [ FirstUniqueAncestorSecurableObject ] 屬性。 (Inherited from SPSecurableObject.)
Public property FirstUniqueAncestorSecurableObject Reserved for future use. (Inherited from SPItem.)
Public property HasUniqueRoleAssignments 指出物件是否具有唯一的角色指派,或從父系物件繼承其角色指派。 (Inherited from SPSecurableObject.)
Public property ID 取得或設定項目的 ID。 (Inherited from SPItem.)
Public property Item[Int32] 取得或設定指定的索引值為基礎的清單項目欄位的值。 (Overrides SPItem.Item[Int32].)
Public property Item[String] 取得或設定欄位的名稱為基礎的清單項目欄位的值。 (Overrides SPItem.Item[String].)
Public property ReusableAcl Reserved for future use. (Inherited from SPItem.)
Public property RoleAssignments 取得這個可保護物件的角色指派。 (Inherited from SPSecurableObject.)
Public property Xml 取得值,以 XML 格式,與清單項目相關聯的欄位。

Top

Methods

  Name Description
Public method BreakRoleInheritance(Boolean) 建立物件的唯一的角色指派,並選擇性地將角色指派複製從父代。 (Inherited from SPSecurableObject.)
Public method BreakRoleInheritance(Boolean, Boolean) 建立物件的唯一的角色指派、 選擇性地將角色指派複製從父項目,並選擇性地清除 [從下階的唯一的角色指派。 (Inherited from SPSecurableObject.)
Public method CheckPermissions 判斷目前的使用者是否具有指定的使用權限集合。 (Inherited from SPSecurableObject.)
Public method Delete 刪除指定的項目,其欄位集合,以及相關聯的欄位資料。 (Overrides SPItem.Delete().)
Public method DoesUserHavePermissions 指示目前的使用者是否有指定的使用權限集合。 (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 在衍生類別中實作時,移除本機角色指派,如此角色指派] 中所有的子系物件,都會重新從父系物件繼承。 (Inherited from SPSecurableObject.)
Public method ToHashtable 建立索引的資料表的有效查詢指定的欄位的值。
Public method ToString (Inherited from Object.)
Public method Update 指定的更新項目,其欄位集合,以及相關聯的欄位資料。 (Overrides SPItem.Update().)

Top

Fields

  Name Description
Protected field m_Fields 儲存與項目相關聯的欄位物件。 (Inherited from SPItem.)

Top

請參閱

參照

SPSimpleItem class

Microsoft.SharePoint namespace