Compartilhar via


SPMemberCollection Members

Include Protected Members
Include Inherited Members

An abstract class encapsulating the behavior of user collections and group collections.

The SPMemberCollection type exposes the following members.

Constructors

  Name Description
Protected method SPMemberCollection Initializes a new instance of the SPMemberCollection class.

Top

Properties

  Name Description
Public property Count Reserved for internal use. Gets the total number of elements in the collection. (Inherited from SPBaseCollection.)
Public property RetrieveAllRoles Gets or sets a Boolean value that specifies whether to preload roles for users to increase performance.
Public property UpgradedPersistedProperties (Inherited from SPAutoSerializingObject.)
Public property Web Gets the Web site to which the collection belongs.

Top

Methods

  Name Description
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetEnumerator Gets an enumerator to iterate through the collection. (Inherited from SPBaseCollection.)
Public method GetHashCode (Inherited from Object.)
Public method GetObjectData (Inherited from SPAutoSerializingObject.)
Public method GetType (Inherited from Object.)
Public method GetTypedEnumerator<T> Returns a type-safe enumerator to iterate through the collection. (Inherited from SPBaseCollection.)
Protected method MemberwiseClone (Inherited from Object.)
Protected method OnDeserialization (Inherited from SPAutoSerializingObject.)
Public method ToString (Inherited from Object.)
Protected method UpdateParent (Inherited from SPAutoSerializingObject.)

Top

Fields

  Name Description
Protected field m_arrRolesData Store the role definition data as a two-dimensional array.
Protected field m_dwCountRoles Store the number of role definitions.
Protected field m_role Store the role definition to which the collection belongs.
Protected field m_web Store the Web site to which the collection belongs.

Top

Explicit Interface Implementations

  Name Description
Explicit interface implemetationPrivate method ICollection.CopyTo Copies the elements of the collection to an array, starting at the specified array index. (Inherited from SPBaseCollection.)
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

SPMemberCollection Class

Microsoft.SharePoint Namespace