Поделиться через


Класс RoleMemberCollection

Represents a collection of RoleMember objects.

Иерархия наследования

System.Object
  Microsoft.AnalysisServices.RoleMemberCollection

Пространство имен:  Microsoft.AnalysisServices
Сборка:  Microsoft.AnalysisServices (в Microsoft.AnalysisServices.dll)

Синтаксис

'Декларация
<GuidAttribute("39DFDC96-0B38-4ddf-9514-F387EE32407B")> _
Public NotInheritable Class RoleMemberCollection _
    Implements IList, ICollection, IEnumerable
'Применение
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

Тип RoleMemberCollection обеспечивает доступ к следующим элементам.

Конструкторы

  Имя Описание
Открытый метод RoleMemberCollection Initializes a new instance of the RoleMemberCollection class.

В начало

Свойства

  Имя Описание
Открытое свойство Count Gets the number of elements contained in the collection.
Открытое свойство Item Gets or sets the element at the specified index.

В начало

Методы

  Имя Описание
Открытый метод Add Adds the specified RoleMember to the collection.
Открытый метод AddRange Adds the elements of an ICollection to the end of the collection.
Открытый метод Clear Removes all items from the collection.
Открытый метод Contains Determines whether the specified RoleMember is in the collection.
Открытый метод CopyTo Copies the elements of the collection to an Array, starting at a particular Array index.
Открытый метод Equals (Производный от Object.)
Открытый метод GetHashCode (Производный от Object.)
Открытый метод GetType (Производный от Object.)
Открытый метод IndexOf Searches for the specified RoleMember and returns its zero-based index within the collection.
Открытый метод Insert Inserts a RoleMember into the collection at the specified index.
Открытый метод Remove Removes the specified RoleMember from the collection.
Открытый метод RemoveAt Removes the item at the specified index.
Открытый метод ToString (Производный от Object.)

В начало

Явные реализации интерфейса

  Имя Описание
Явная реализация интерфейсаЗакрытый метод IList.Add Adds an item to the collection.
Явная реализация интерфейсаЗакрытый метод IList.Contains Indicates whether the collection contains a specific value.
Явная реализация интерфейсаЗакрытый метод IEnumerable.GetEnumerator Returns an enumerator that iterates through a collection.
Явная реализация интерфейсаЗакрытый метод IList.IndexOf Determines the index of a specific item in the collection.
Явная реализация интерфейсаЗакрытый метод IList.Insert Inserts an item to the collection at the specified index.
Явная реализация интерфейсаЗакрытое свойство IList.IsFixedSize Gets a value that indicates whether the collection has a fixed size.
Явная реализация интерфейсаЗакрытое свойство IList.IsReadOnly Gets a value that indicates whether this RoleMemberCollection is read-only.
Явная реализация интерфейсаЗакрытое свойство ICollection.IsSynchronized Gets a value that indicates whether access to the RoleMemberCollection is synchronized.
Явная реализация интерфейсаЗакрытое свойство IList.Item Gets or sets the element at the specified index.
Явная реализация интерфейсаЗакрытый метод IList.Remove Removes the first occurrence of a specified object from the collection.
Явная реализация интерфейсаЗакрытое свойство ICollection.SyncRoot Gets an object that can be used to synchronize access to the RoleMemberCollection.

В начало

Безопасность многопоточности

Любые открытые статический (Shared в Visual Basic) элементы этого типа потокобезопасны. Потокобезопасность с элементами экземпляров не гарантируется.

См. также

Справочник

Пространство имен Microsoft.AnalysisServices