SPGroupCollection Properties

Include Protected Members
Include Inherited Members

The SPGroupCollection type exposes the following members.

Properties

  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 UpgradedPersistedProperties (Inherited from SPAutoSerializingObject.)
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.

Top

Explicit Interface Implementations

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

Top

See Also

Reference

SPGroupCollection Class

Microsoft.SharePoint Namespace