Partager via


Classe RoleMemberCollection

Represents a collection of RoleMember objects.

Hiérarchie d'héritage

System.Object
  Microsoft.AnalysisServices.RoleMemberCollection

Espace de noms :  Microsoft.AnalysisServices
Assembly :  Microsoft.AnalysisServices (en Microsoft.AnalysisServices.dll)

Syntaxe

'Déclaration
<GuidAttribute("39DFDC96-0B38-4ddf-9514-F387EE32407B")> _
Public NotInheritable Class RoleMemberCollection _
    Implements IList, ICollection, IEnumerable
'Utilisation
Dim instance As RoleMemberCollection
[GuidAttribute("39DFDC96-0B38-4ddf-9514-F387EE32407B")]
public sealed class RoleMemberCollection : IList, 
    ICollection, IEnumerable
[GuidAttribute(L"39DFDC96-0B38-4ddf-9514-F387EE32407B")]
public ref class RoleMemberCollection sealed : IList, 
    ICollection, IEnumerable
[<SealedAttribute>]
[<GuidAttribute("39DFDC96-0B38-4ddf-9514-F387EE32407B")>]
type RoleMemberCollection =  
    class 
        interface IList 
        interface ICollection 
        interface IEnumerable 
    end
public final class RoleMemberCollection implements IList, ICollection, IEnumerable

Le type RoleMemberCollection expose les membres suivants.

Constructeurs

  Nom Description
Méthode publique RoleMemberCollection Initializes a new instance of the RoleMemberCollection class.

Haut de la page

Propriétés

  Nom Description
Propriété publique Count Gets the number of elements contained in the collection.
Propriété publique Item Gets or sets the element at the specified index.

Haut de la page

Méthodes

  Nom Description
Méthode publique Add Adds the specified RoleMember to the collection.
Méthode publique AddRange Adds the elements of an ICollection to the end of the collection.
Méthode publique Clear Removes all items from the collection.
Méthode publique Contains Determines whether the specified RoleMember is in the collection.
Méthode publique CopyTo Copies the elements of the collection to an Array, starting at a particular Array index.
Méthode publique Equals (hérité de Object.)
Méthode publique GetHashCode (hérité de Object.)
Méthode publique GetType (hérité de Object.)
Méthode publique IndexOf Searches for the specified RoleMember and returns its zero-based index within the collection.
Méthode publique Insert Inserts a RoleMember into the collection at the specified index.
Méthode publique Remove Removes the specified RoleMember from the collection.
Méthode publique RemoveAt Removes the item at the specified index.
Méthode publique ToString (hérité de Object.)

Haut de la page

Implémentations d'interfaces explicites

  Nom Description
Implémentation d'interface expliciteMéthode privée IList.Add Adds an item to the collection.
Implémentation d'interface expliciteMéthode privée IList.Contains Indicates whether the collection contains a specific value.
Implémentation d'interface expliciteMéthode privée IEnumerable.GetEnumerator Returns an enumerator that iterates through a collection.
Implémentation d'interface expliciteMéthode privée IList.IndexOf Determines the index of a specific item in the collection.
Implémentation d'interface expliciteMéthode privée IList.Insert Inserts an item to the collection at the specified index.
Implémentation d'interface explicitePropriété privée IList.IsFixedSize Gets a value that indicates whether the collection has a fixed size.
Implémentation d'interface explicitePropriété privée IList.IsReadOnly Gets a value that indicates whether this RoleMemberCollection is read-only.
Implémentation d'interface explicitePropriété privée ICollection.IsSynchronized Gets a value that indicates whether access to the RoleMemberCollection is synchronized.
Implémentation d'interface explicitePropriété privée IList.Item Gets or sets the element at the specified index.
Implémentation d'interface expliciteMéthode privée IList.Remove Removes the first occurrence of a specified object from the collection.
Implémentation d'interface explicitePropriété privée ICollection.SyncRoot Gets an object that can be used to synchronize access to the RoleMemberCollection.

Haut de la page

Sécurité des threads

Tous les membres publics static (Shared dans Visual Basic) de ce type sont thread-safe. Tous les membres de l'instance ne sont pas garantis comme étant thread-safe.

Voir aussi

Référence

Espace de noms Microsoft.AnalysisServices