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


Класс DimensionAttributeCollection

Contains a collection of DimensionAttribute objects. This class cannot be inherited.

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

System.Object
  Microsoft.AnalysisServices.ModelComponentCollection
    Microsoft.AnalysisServices.NamedComponentCollection
      Microsoft.AnalysisServices.DimensionAttributeCollection

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

Синтаксис

'Декларация
<GuidAttribute("0786AADE-B854-4f09-8EC0-AF5AA2075EFD")> _
Public NotInheritable Class DimensionAttributeCollection _
    Inherits NamedComponentCollection
'Применение
Dim instance As DimensionAttributeCollection
[GuidAttribute("0786AADE-B854-4f09-8EC0-AF5AA2075EFD")]
public sealed class DimensionAttributeCollection : NamedComponentCollection
[GuidAttribute(L"0786AADE-B854-4f09-8EC0-AF5AA2075EFD")]
public ref class DimensionAttributeCollection sealed : public NamedComponentCollection
[<SealedAttribute>]
[<GuidAttribute("0786AADE-B854-4f09-8EC0-AF5AA2075EFD")>]
type DimensionAttributeCollection =  
    class 
        inherit NamedComponentCollection 
    end
public final class DimensionAttributeCollection extends NamedComponentCollection

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

Свойства

  Имя Описание
Открытое свойство Count Gets the number of ModelComponent objects in the ModelComponentCollection. (Производный от ModelComponentCollection.)
Открытое свойство IsFixedSize Gets a value indicating whether the ModelComponentCollection has a fixed size. (Производный от ModelComponentCollection.)
Открытое свойство IsReadOnly Gets a value indicating whether the ModelComponentCollection is read-only. (Производный от ModelComponentCollection.)
Открытое свойство IsSynchronized Gets a value indicating whether access to the ModelComponentCollection is synchronized (thread-safe). (Производный от ModelComponentCollection.)
Открытое свойство Item[Int32] Gets the DimensionAttribute at the specified index from the collection.
Открытое свойство Item[String] Gets the DimensionAttribute with the specified identifier from the collection.
Открытое свойство Parent Gets the IModelComponent that contains the ModelComponentCollection. (Производный от ModelComponentCollection.)
Открытое свойство SyncRoot Gets an object that can be used to synchronize access to the ModelComponentCollection. (Производный от ModelComponentCollection.)

В начало

Методы

  Имя Описание
Открытый метод Add() Creates and adds a DimensionAttribute to the end of the collection.
Открытый метод Add(String) Creates and adds a DimensionAttribute with the specified identifier to the end of the collection.
Открытый метод Add(DimensionAttribute) Adds a DimensionAttribute to the end of the collection.
Защищенный метод Add(ModelComponent) Инфраструктура. Adds a ModelComponent object to the NamedComponentCollection. (Производный от NamedComponentCollection.)
Открытый метод Add(String, String) Creates and adds a DimensionAttribute with the specified name and identifier to the end of the collection.
Защищенный метод Add(ModelComponent, Boolean) Инфраструктура. Adds a ModelComponent object to the ModelComponentCollection. (Производный от ModelComponentCollection.)
Открытый метод CanAdd Инфраструктура. Indicates whether the collection can add a ModelComponent. (Производный от NamedComponentCollection.)
Защищенный метод ChangeKey Инфраструктура. Changes the specified keys to the collection. (Производный от ModelComponentCollection.)
Открытый метод Clear Removes all elements from the ModelComponentCollection. (Производный от ModelComponentCollection.)
Открытый метод Contains(String) Indicates whether the collection contains a DimensionAttribute with the specified identifier.
Открытый метод Contains(DimensionAttribute) Indicates whether the collection contains a specified DimensionAttribute.
Открытый метод ContainsName Indicates whether the component contains its name. (Производный от NamedComponentCollection.)
Открытый метод CopyTo Copies the entire ModelComponentCollection to a one-dimensional Array, starting at the specified index of the target array. (Производный от ModelComponentCollection.)
Открытый метод Equals (Производный от Object.)
Открытый метод Find Gets the DimensionAttribute with the specified identifier from the collection.
Открытый метод FindByName Gets the DimensionAttribute, with the specified name, from the collection.
Открытый метод GetByName Gets the DimensionAttribute with the specified name, from the collection.
Открытый метод GetEnumerator Returns an enumerator that can iterate through the ModelComponentCollection. (Производный от ModelComponentCollection.)
Открытый метод GetHashCode (Производный от Object.)
Открытый метод GetNewID() Gets a new unique ID for the component. (Производный от NamedComponentCollection.)
Открытый метод GetNewID(String) Gets the value for the new unique ID. (Производный от NamedComponentCollection.)
Открытый метод GetNewName() Gets a unique new name for the component. (Производный от NamedComponentCollection.)
Открытый метод GetNewName(String) Gets a unique new name for the component with the specified name prefix. (Производный от NamedComponentCollection.)
Открытый метод GetType (Производный от Object.)
Открытый метод IndexOf(String) Gets the index of a DimensionAttribute with the specified identifier.
Открытый метод IndexOf(DimensionAttribute) Gets the index of a specified DimensionAttribute.
Открытый метод IndexOfName Gets the index of the NamedComponent, identified by name, in the collection. (Производный от NamedComponentCollection.)
Открытый метод Insert(Int32) Creates and inserts a DimensionAttribute into the collection at the specified index.
Открытый метод Insert(Int32, DimensionAttribute) Inserts a DimensionAttribute into the collection at the specified index.
Открытый метод Insert(Int32, String) Creates and inserts a DimensionAttribute with the specified name into the collection at the specified index.
Защищенный метод Insert(Int32, ModelComponent) Инфраструктура. Inserts a ModelComponent in the NamedComponentCollection. (Производный от NamedComponentCollection.)
Открытый метод Insert(Int32, String, String) Creates and inserts a DimensionAttribute, with the specified name and identifier, into the collection at the specified index.
Открытый метод IsValidID(String) Determines whether the named component collection identifier is valid. (Производный от NamedComponentCollection.)
Открытый метод IsValidID(String, String%) Indicates whether the identifier of the collection is valid. (Переопределяет NamedComponentCollection.IsValidID(String, String%).)
Открытый метод IsValidName(String) Determines whether the named component collection name is valid. (Производный от NamedComponentCollection.)
Открытый метод IsValidName(String, String%) Indicates whether the name of the collection is valid. (Переопределяет NamedComponentCollection.IsValidName(String, String%).)
Защищенный метод IsValidName(String, Type, ModelType, Int32, String%) (Производный от NamedComponentCollection.)
Открытый метод Move(Int32, Int32) Moves a DimensionAttribute at the current specified index to a new specified index in the collection.
Открытый метод Move(String, Int32) Moves a DimensionAttribute with the specified identifier to the specified index in the collection.
Открытый метод Move(DimensionAttribute, Int32) Moves a DimensionAttribute to a new index in the collection.
Открытый метод Remove(String) Removes the DimensionAttribute with the specified identifier from the collection.
Открытый метод Remove(DimensionAttribute) Removes the specified DimensionAttribute from the collection.
Защищенный метод Remove(IModelComponent) Removes the specified IModelComponent from the collection. (Производный от ModelComponentCollection.)
Открытый метод Remove(String, Boolean) Инфраструктура. Removes a DimensionAttribute from this collection.
Открытый метод Remove(DimensionAttribute, Boolean) Инфраструктура. Removes the specified DimensionAttribute from this collection.
Открытый метод RemoveAt(Int32) Removes the IModelComponent at the specified index from the ModelComponentCollection. (Производный от ModelComponentCollection.)
Открытый метод RemoveAt(Int32, Boolean) Инфраструктура. Removes the IModelComponent at the specified index from the ModelComponentCollection. (Производный от ModelComponentCollection.)
Открытый метод ToString (Производный от Object.)

В начало

События

  Имя Описание
Открытое событие CollectionChanged Инфраструктура. Occurs when the collection changes. (Производный от ModelComponentCollection.)
Открытое событие CollectionChanging Инфраструктура. Occurs when the collection is changing. (Производный от ModelComponentCollection.)

В начало

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

  Имя Описание
Явная реализация интерфейсаЗакрытый метод IList.Add Adds an item to the collection. (Производный от ModelComponentCollection.)
Явная реализация интерфейсаЗакрытый метод IList.Clear Removes all items from the collection. (Производный от ModelComponentCollection.)
Явная реализация интерфейсаЗакрытый метод IList.Contains Indicates whether the collection contains a specific value. (Производный от ModelComponentCollection.)
Явная реализация интерфейсаЗакрытый метод IList.IndexOf Determines the index of a specific item in the collection. (Производный от ModelComponentCollection.)
Явная реализация интерфейсаЗакрытый метод IList.Insert Inserts an item to the collection at the specified index. (Производный от ModelComponentCollection.)
Явная реализация интерфейсаЗакрытое свойство IList.Item Gets or sets the element at the specified index. (Производный от ModelComponentCollection.)
Явная реализация интерфейсаЗакрытый метод IList.Remove Removes the first occurrence of a specified object from the collection. (Производный от ModelComponentCollection.)
Явная реализация интерфейсаЗакрытый метод IList.RemoveAt Removes the item at the specified index. (Производный от ModelComponentCollection.)
Явная реализация интерфейсаЗакрытый метод IModelComponentCollection.Contains Indicates whether the collection contains a specific value. (Производный от ModelComponentCollection.)
Явная реализация интерфейсаЗакрытый метод IModelComponentCollection.Remove(IModelComponent) Removes the first occurrence of a specific IModelComponent from the ModelComponentCollection. (Производный от ModelComponentCollection.)
Явная реализация интерфейсаЗакрытый метод IModelComponentCollection.Remove(IModelComponent, Boolean) Removes the first occurrence of a specific IModelComponent from the ModelComponentCollection. (Производный от ModelComponentCollection.)
Явная реализация интерфейсаЗакрытый метод IOnDemandLoadableCollection.BlockOnDemandLoad Specifies the blocked demand load. (Производный от ModelComponentCollection.)
Явная реализация интерфейсаЗакрытое свойство IOnDemandLoadableCollection.Loaded Gets or sets a value that indicates whether the collection is loaded. (Производный от ModelComponentCollection.)

В начало

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

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

См. также

Справочник

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