Класс TranslationCollection
Contains a collection of Translation objects.
Иерархия наследования
System.Object
Microsoft.AnalysisServices.ModelComponentCollection
Microsoft.AnalysisServices.TranslationCollection
Microsoft.AnalysisServices.AttributeTranslationCollection
Пространство имен: Microsoft.AnalysisServices
Сборка: Microsoft.AnalysisServices (в Microsoft.AnalysisServices.dll)
Синтаксис
'Декларация
<GuidAttribute("2F2699BD-B28C-4d39-A0B1-D76EEF27B7E1")> _
Public Class TranslationCollection _
Inherits ModelComponentCollection
'Применение
Dim instance As TranslationCollection
[GuidAttribute("2F2699BD-B28C-4d39-A0B1-D76EEF27B7E1")]
public class TranslationCollection : ModelComponentCollection
[GuidAttribute(L"2F2699BD-B28C-4d39-A0B1-D76EEF27B7E1")]
public ref class TranslationCollection : public ModelComponentCollection
[<GuidAttribute("2F2699BD-B28C-4d39-A0B1-D76EEF27B7E1")>]
type TranslationCollection =
class
inherit ModelComponentCollection
end
public class TranslationCollection extends ModelComponentCollection
Тип TranslationCollection обеспечивает доступ к следующим элементам.
Свойства
Имя | Описание | |
---|---|---|
Count | Gets the number of ModelComponent objects in the ModelComponentCollection. (Производный от ModelComponentCollection.) | |
DemandLoadingService | Инфраструктура. Gets the demand loading service for the collection. (Производный от 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 Translation at the specified index from the collection. | |
ItemsType | Инфраструктура. Gets the Type of objects that can be contained by the TranslationCollection. (Переопределяет ModelComponentCollection.ItemsType.) | |
Parent | Gets the IModelComponent that contains the ModelComponentCollection. (Производный от ModelComponentCollection.) | |
Preloadable | Инфраструктура. Gets a value indicating whether the collection can be preloaded. (Производный от ModelComponentCollection.) | |
SyncRoot | Gets an object that can be used to synchronize access to the ModelComponentCollection. (Производный от ModelComponentCollection.) |
В начало
Методы
Имя | Описание | |
---|---|---|
Add(Int32) | Creates and adds a Translation, with the specified language, 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. | |
Add(String, IModelComponent) | Инфраструктура. Adds a IModelComponent object to the ModelComponentCollection. (Производный от ModelComponentCollection.) | |
Add(Int32, String) | Creates and adds a Translation, with the specified language and caption, to the end of the collection. | |
Add(ModelComponent, Boolean) | Инфраструктура. Adds a ModelComponent object to the ModelComponentCollection. (Производный от ModelComponentCollection.) | |
Add(String, IModelComponent, Boolean) | Инфраструктура. Adds a IModelComponent object to the ModelComponentCollection. (Производный от ModelComponentCollection.) | |
AddNew(String, Type) | Инфраструктура. Adds a new IModelComponent to the collection. (Производный от ModelComponentCollection.) | |
AddNew(String, String, Type) | Инфраструктура. Adds a new IModelComponent to the collection. (Производный от 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(String) | Determines whether an item with the specified key is in the ModelComponentCollection. (Производный от ModelComponentCollection.) | |
Contains(Int32) | Indicates whether the collection contains a Translation with the specified language. | |
Contains(IModelComponent) | Determines whether the specified item is in the collection. (Производный от ModelComponentCollection.) | |
Contains(Translation) | Indicates whether the collection contains a specified Translation. | |
CopyTo | Copies the entire ModelComponentCollection to a one-dimensional Array, starting at the specified index of the target array. (Производный от ModelComponentCollection.) | |
EnsureLoaded | Инфраструктура. Ensures the collection is loaded. (Производный от ModelComponentCollection.) | |
Equals | (Производный от Object.) | |
Finalize | (Производный от Object.) | |
FindByLanguage | Indicates whether the collection contains a Translation with the specified language. | |
GetByLanguage | Indicates whether the collection contains a Translation with the specified language. | |
GetEnumerator | Returns an enumerator that can iterate through the ModelComponentCollection. (Производный от ModelComponentCollection.) | |
GetHashCode | (Производный от Object.) | |
GetItem | Gets a reference to the specified component. (Производный от ModelComponentCollection.) | |
GetType | (Производный от Object.) | |
IndexOf(String) | Returns the zero-based index of the first occurrence of an IModelComponent that has the specified key in the ModelComponentCollection. (Производный от ModelComponentCollection.) | |
IndexOf(Int32) | Gets the index of a Translation, with the specified language. | |
IndexOf(IModelComponent) | Searches for the specified item and returns its zero-based index within the collection. (Производный от ModelComponentCollection.) | |
IndexOf(Translation) | Gets the index of a specified Translation. | |
Insert(Int32, ModelComponent) | Инфраструктура. Inserts an ModelComponent in the ModelComponentCollection. (Производный от ModelComponentCollection.) | |
Insert(Int32, Translation) | Inserts a Translation into the collection at the specified index. | |
Insert(Int32, Int32) | Creates and inserts a Translation, with the specified language, into the collection at the specified index. | |
Insert(IModelComponent, String, Int32) | Инфраструктура. Inserts an IModelComponent in the ModelComponentCollection. (Производный от ModelComponentCollection.) | |
Insert(IModelComponent, String, Int32, Boolean) | Инфраструктура. Inserts an IModelComponent in the ModelComponentCollection. (Производный от ModelComponentCollection.) | |
MemberwiseClone | (Производный от Object.) | |
Move(Int32, Int32) | Moves a Translation at the current specified index to a new specified index in the collection. | |
Move(Translation, Int32) | Moves a Translation to a new index in the collection. | |
Remove(Int32) | Removes the Translation, with the specified language, from the collection. | |
Remove(IModelComponent) | Removes the specified IModelComponent from the collection. (Производный от ModelComponentCollection.) | |
Remove(Translation) | Removes the specified Translation from the collection. | |
Remove(Int32, Boolean) | Инфраструктура. Removes the Translation, with the specified language, from the collection. | |
Remove(Translation, Boolean) | Инфраструктура. Removes the specified Translation from the 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) элементы этого типа потокобезопасны. Потокобезопасность с элементами экземпляров не гарантируется.