Membres SPGroupCollection (Microsoft.SharePoint)

Represents a collection of SPGroup objects.

Les tableaux suivants contiennent la liste des membres exposés par le type SPGroupCollection .

Champs protégés

  Nom Description
Champ protégé m_arrRolesData  Store the role definition data as a two-dimensional array. (hérité de SPMemberCollection)
Champ protégé m_dwCountRoles  Store the number of role definitions.(hérité de SPMemberCollection)
Champ protégé m_role  Store the role definition to which the collection belongs.(hérité de SPMemberCollection)
Champ protégé m_web  Store the Web site to which the collection belongs.(hérité de SPMemberCollection)

Haut de page

Propriétés publiques

  Nom Description
Propriété publique Count Substitué. Gets the number of groups in the collection.
Propriété publique Item Surchargé. Gets the specified group object from the collection.
Propriété publique RetrieveAllRoles  Gets or sets a Boolean value that specifies whether to preload roles for users to increase performance.(hérité de SPMemberCollection)
Propriété publique UpgradedPersistedProperties  Gets the collection of field names and values for fields that were deleted or changed. (hérité de SPAutoSerializingObject)
Propriété publique Web  Gets the Web site to which the collection belongs.(hérité de SPMemberCollection)
Propriété publique Xml Gets the properties of the collection as XML.

Haut de page

Méthodes publiques

(voir aussi Méthodes protégées )

  Nom Description
Méthode publique Add Adds a group to the collection of groups in a site collection.
Méthode publique Equals  Surchargé. (hérité de Object)
Méthode publique GetByID Returns a group from the collection based on the member ID of the group.
Méthode publique GetCollection Surchargé. Returns a collection of groups from the collection.
Méthode publique GetHashCode  (hérité de Object)
Méthode publique GetObjectData  (hérité de SPAutoSerializingObject)
Méthode publique GetType  (hérité de Object)
Méthode publique Statique ReferenceEquals  (hérité de Object)
Méthode publique Remove Surchargé. Removes the specified group from the collection.
Méthode publique RemoveByID Removes the group with the specified member ID from the collection.
Méthode publique ToString  (hérité de Object)

Haut de page

Méthodes protégées

  Nom Description
Méthode protégée Finalize  (hérité de Object)
Méthode protégée MemberwiseClone  (hérité de Object)
Méthode protégée OnDeserialization  Called after the object has been deserialized from the file system cache or the database.(hérité de SPAutoSerializingObject)
Méthode protégée UpdateParent  Causes the containing SPPersistedObject, if one exists, to update its state. (hérité de SPAutoSerializingObject)

Haut de page

Implémentations d'interface explicites

  Nom Description
Implémentation d'interface explicite Méthode System.Collections.ICollection.CopyTo  (hérité de SPBaseCollection)
Implémentation d'interface explicite Méthode System.Collections.IEnumerable.GetEnumerator  (hérité de SPBaseCollection)
Implémentation d'interface explicite Propriété System.Collections.ICollection.IsSynchronized  (hérité de SPBaseCollection)
Implémentation d'interface explicite Propriété System.Collections.ICollection.SyncRoot  (hérité de SPBaseCollection)

Haut de page

Voir aussi

Référence

SPGroupCollection, classe
Microsoft.SharePoint, espace de noms