共用方式為


SPMemberCollection members

Include protected members
Include inherited members

抽象類別,封裝使用者集合和群組集合的行為。

The SPMemberCollection type exposes the following members.

Constructors

  Name Description
Protected method SPMemberCollection 初始化SPMemberCollection類別的新執行個體。

Top

Properties

  Name Description
Public property Count 保留給內部使用。取得集合中的元素總數。 (Inherited from SPBaseCollection.)
Public property RetrieveAllRoles 取得或設定布林值,指定是否要預先載入以增進效能的使用者的角色。
Public property Web 取得集合所屬的網站。

Top

Methods

  Name Description
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetEnumerator 取得列舉值來逐一查看集合。 (Inherited from SPBaseCollection.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Public method GetTypedEnumerator<T> 傳回逐一查看集合的型別安全列舉值。 (Inherited from SPBaseCollection.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString (Inherited from Object.)

Top

Fields

  Name Description
Protected field m_arrRolesData 將角色定義資料儲存為二維陣列。
Protected field m_dwCountRoles 儲存角色定義的數的字。
Protected field m_role 儲存集合所屬的角色定義。
Protected field m_web 儲存集合所屬的網站。

Top

Explicit interface implementations

  Name Description
Explicit interface implemetationPrivate method ICollection.CopyTo 陣列,指定的陣列索引處開始複製集合的項目。 (Inherited from SPBaseCollection.)
Explicit interface implemetationPrivate property ICollection.IsSynchronized 取得布林值,這個值,指出對集合的存取是否同步處理或安全執行緒。 (Inherited from SPBaseCollection.)
Explicit interface implemetationPrivate property ICollection.SyncRoot 取得用於同步化存取集合的物件。 (Inherited from SPBaseCollection.)

Top

請參閱

參照

SPMemberCollection class

Microsoft.SharePoint namespace