Represents a collection of SPGroup objects.
SPGroupCollection 类型公开以下成员。
属性
| 名称 | 说明 | |
|---|---|---|
![]() |
Count | Gets the number of groups in the collection. (覆盖 SPBaseCollection.Count。) |
![]() |
Item[Int32] | Gets the group object at the specified index in the collection. |
![]() |
Item[String] | Gets the group object that has the specified name from the collection. |
![]() |
RetrieveAllRoles | 获取或设置一个 Boolean 值,它指定是否预加载角色的用户,以便提高性能。 (从 SPMemberCollection 继承。) |
![]() |
Web | 获取集合所属的网站。 (从 SPMemberCollection 继承。) |
![]() |
Xml | Gets the properties of the collection as XML. |
页首
方法
| 名称 | 说明 | |
|---|---|---|
![]() |
Add | Adds a group to the collection of groups in a site collection. |
![]() |
Equals | (从 Object 继承。) |
![]() |
Finalize | (从 Object 继承。) |
![]() |
GetByID | Returns a group from the collection based on the member ID of the group. |
![]() |
GetByName | Returns a cross-site group from the collection based on the name of the group. |
![]() |
GetCollection([]) | Returns a collection of groups from the collection based on the group IDs. |
![]() |
GetCollection([]) | Returns a collection of groups from the collection based on an array of names. |
![]() |
GetEnumerator | 获取要循环访问集合的枚举。 (从 SPBaseCollection 继承。) |
![]() |
GetHashCode | (从 Object 继承。) |
![]() |
GetType | (从 Object 继承。) |
![]() |
GetTypedEnumerator<T> | 返回以循环访问集合的类型安全枚举。 (从 SPBaseCollection 继承。) |
![]() |
MemberwiseClone | (从 Object 继承。) |
![]() |
Remove(Int32) | Removes the group at the specified index in the collection. |
![]() |
Remove(String) | Removes the group with the specified name from the collection. |
![]() |
RemoveByID | Removes the group with the specified member ID from the collection. |
![]() |
ToString | (从 Object 继承。) |
页首
域
| 名称 | 说明 | |
|---|---|---|
![]() |
m_arrRolesData | 将角色定义数据存储为一个二维数组。 (从 SPMemberCollection 继承。) |
![]() |
m_dwCountRoles | 存储角色定义的数目。 (从 SPMemberCollection 继承。) |
![]() |
m_role | 存储集合所属的角色定义。 (从 SPMemberCollection 继承。) |
![]() |
m_web | 存储集合属于该网站。 (从 SPMemberCollection 继承。) |
页首
显式 接口 实现
| 名称 | 说明 | |
|---|---|---|
![]() ![]() |
ICollection.CopyTo | 将集合中的元素复制到的指定索引处开始的数组。 (从 SPBaseCollection 继承。) |
![]() ![]() |
ICollection.IsSynchronized | 获取一个布尔值,指示集合访问是同步还是线程安全。 (从 SPBaseCollection 继承。) |
![]() ![]() |
ICollection.SyncRoot | 获取用于同步到集合的对象。 (从 SPBaseCollection 继承。) |
页首
.gif)
.gif)
.gif)
.gif)
.gif)
.gif)
.gif)