The VGRoleCollection type exposes the following members.

Constructors

  NameDescription
VGRoleCollection
Creates a new, empty role collection.

Methods

  NameDescription
Add
Adds the specified role to the collection.
Clear
Removes all role objects from the collection.
CopyTo
Copies the role collection to a one-dimensional array.
Equals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Finalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
GetEnumerator
Gets an enumerator that can iterate through the role collection.
GetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
GetSortedList
Returns a sorted collection using the specified VGRoleComparer object.
GetType
Gets the Type of the current instance.
(Inherited from Object.)
MemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Remove
Removes the role object with the specified repository id from the collection.
SetReadOnly
Makes the contents of the role collection read-only.
ToString
Returns a String that represents the current Object.
(Inherited from Object.)

Properties

  NameDescription
Count
Gets the number of role objects in the collection.
IsSynchronized
Gets a value indicating whether the role collection is thread safe.
ItemOverloaded.
SyncRoot
Gets the synchronization root.

See Also