SPGroupCollection properties

The SPGroupCollection type exposes the following members.

  Name Description
Public property Count Gets the number of groups in the collection. (Overrides SPBaseCollection.Count.)
Public property Item[Int32] Gets the group object at the specified index in the collection.
Public property Item[String] Gets the group object that has the specified name from the collection.
Public property RetrieveAllRoles Gets or sets a Boolean value that specifies whether to preload roles for users to increase performance. (Inherited from SPMemberCollection.)
Public property Web Gets the Web site to which the collection belongs. (Inherited from SPMemberCollection.)
Public property Xml Gets the properties of the collection as XML.

  Name Description
Explicit interface implemetation Private property ICollection.IsSynchronized Gets a Boolean value that indicates whether access to the collection is synchronized or thread-safe. (Inherited from SPBaseCollection.)
Explicit interface implemetation Private property ICollection.SyncRoot Gets an object that is used to synchronize access to the collection. (Inherited from SPBaseCollection.)