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


Класс AttributeTranslationCollection

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

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

System.Object
  Microsoft.AnalysisServices.ModelComponentCollection
    Microsoft.AnalysisServices.TranslationCollection
      Microsoft.AnalysisServices.AttributeTranslationCollection

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

Синтаксис

'Декларация
<GuidAttribute("135BA853-5642-47d1-ABB6-AA9E8D612F0A")> _
Public NotInheritable Class AttributeTranslationCollection _
    Inherits TranslationCollection
'Применение
Dim instance As AttributeTranslationCollection
[GuidAttribute("135BA853-5642-47d1-ABB6-AA9E8D612F0A")]
public sealed class AttributeTranslationCollection : TranslationCollection
[GuidAttribute(L"135BA853-5642-47d1-ABB6-AA9E8D612F0A")]
public ref class AttributeTranslationCollection sealed : public TranslationCollection
[<SealedAttribute>]
[<GuidAttribute("135BA853-5642-47d1-ABB6-AA9E8D612F0A")>]
type AttributeTranslationCollection =  
    class 
        inherit TranslationCollection 
    end
public final class AttributeTranslationCollection extends TranslationCollection

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

Свойства

  Имя Описание
Открытое свойство 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 Gets the AttributeTranslation at the specified index 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(Int32) Creates and adds an AttributeTranslation, with the specified language, to the end of the collection.
Открытый метод Add(AttributeTranslation) Adds an AttributeTranslation to the end of the collection.
Защищенный метод Add(ModelComponent) Инфраструктура. Adds a ModelComponent object to the ModelComponentCollection. (Производный от ModelComponentCollection.)
Открытый метод Add(Translation) Adds a Translation to the end of the collection. (Производный от TranslationCollection.)
Открытый метод Add(Int32, String) Creates and adds an AttributeTranslation, with the specified language and caption, 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. (Производный от ModelComponentCollection.)
Защищенный метод ChangeKey Инфраструктура. Changes the specified keys to the collection. (Производный от ModelComponentCollection.)
Открытый метод Clear Removes all elements from the ModelComponentCollection. (Производный от ModelComponentCollection.)
Открытый метод Contains(Int32) Indicates whether the collection contains a Translation with the specified language. (Производный от TranslationCollection.)
Открытый метод Contains(AttributeTranslation) Indicates whether the collection contains the specified AttributeTranslation.
Открытый метод Contains(Translation) Indicates whether the collection contains a specified Translation. (Производный от TranslationCollection.)
Открытый метод CopyTo Copies the entire ModelComponentCollection to a one-dimensional Array, starting at the specified index of the target array. (Производный от ModelComponentCollection.)
Открытый метод Equals (Производный от Object.)
Открытый метод FindByLanguage Indicates whether the collection contains a Translation with the specified language. (Производный от TranslationCollection.)
Открытый метод GetByLanguage Indicates whether the collection contains an AttributeTranslation with the specified language.
Открытый метод GetEnumerator Returns an enumerator that can iterate through the ModelComponentCollection. (Производный от ModelComponentCollection.)
Открытый метод GetHashCode (Производный от Object.)
Открытый метод GetType (Производный от Object.)
Открытый метод IndexOf(Int32) Gets the index of a Translation, with the specified language. (Производный от TranslationCollection.)
Открытый метод IndexOf(AttributeTranslation) Gets the index of a specified AttributeTranslation.
Открытый метод IndexOf(Translation) Gets the index of a specified Translation. (Производный от TranslationCollection.)
Открытый метод Insert(Int32, AttributeTranslation) Inserts an AttributeTranslation into the collection at the specified index.
Открытый метод Insert(Int32, Int32) Creates and inserts an AttributeTranslation, with the specified language, into the collection at the specified index.
Защищенный метод Insert(Int32, ModelComponent) Инфраструктура. Inserts an ModelComponent in the ModelComponentCollection. (Производный от ModelComponentCollection.)
Открытый метод Insert(Int32, Translation) Inserts a Translation into the collection at the specified index. (Производный от TranslationCollection.)
Открытый метод Move(Int32, Int32) Moves an AttributeTranslation at the current specified index to a new specified index in the collection.
Открытый метод Move(AttributeTranslation, Int32) Moves an AttributeTranslation to a new index in the collection.
Открытый метод Move(Translation, Int32) Moves a Translation to a new index in the collection. (Производный от TranslationCollection.)
Открытый метод Remove(Int32) Removes the Translation, with the specified language, from the collection. (Производный от TranslationCollection.)
Открытый метод Remove(AttributeTranslation) Removes the specified AttributeTranslation from the collection.
Защищенный метод Remove(IModelComponent) Removes the specified IModelComponent from the collection. (Производный от ModelComponentCollection.)
Открытый метод Remove(Translation) Removes the specified Translation from the collection. (Производный от TranslationCollection.)
Открытый метод Remove(Int32, Boolean) Инфраструктура. Removes the Translation, with the specified language, from the collection. (Производный от TranslationCollection.)
Открытый метод Remove(AttributeTranslation, Boolean) Инфраструктура. Removes the specified AttributeTranslation from this collection.
Открытый метод Remove(Translation, Boolean) Инфраструктура. Removes the specified Translation from the collection. (Производный от TranslationCollection.)
Открытый метод 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