Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

TranslationCollection Class

Contains a collection of Translation objects.

Namespace:  Microsoft.AnalysisServices
Assembly:  Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)
[GuidAttribute("2F2699BD-B28C-4d39-A0B1-D76EEF27B7E1")]
public class TranslationCollection : ModelComponentCollection

The TranslationCollection type exposes the following members.

  NameDescription
Public propertyCountGets the number of ModelComponent objects in the ModelComponentCollection. (Inherited from ModelComponentCollection.)
Protected propertyDemandLoadingServiceInfrastructure. Gets the demand loading service for the collection. (Inherited from ModelComponentCollection.)
Public propertyIsFixedSizeGets a value indicating whether the ModelComponentCollection has a fixed size. (Inherited from ModelComponentCollection.)
Public propertyIsReadOnlyGets a value indicating whether the ModelComponentCollection is read-only. (Inherited from ModelComponentCollection.)
Public propertyIsSynchronizedGets a value indicating whether access to the ModelComponentCollection is synchronized (thread-safe). (Inherited from ModelComponentCollection.)
Public propertyItemGets the Translation at the specified index from the collection.
Protected propertyItemsTypeInfrastructure. Gets the Type of objects that can be contained by the TranslationCollection. (Overrides ModelComponentCollection.ItemsType.)
Public propertyParentGets the IModelComponent that contains the ModelComponentCollection. (Inherited from ModelComponentCollection.)
Protected propertyPreloadableInfrastructure. Gets a value indicating whether the collection can be preloaded. (Inherited from ModelComponentCollection.)
Public propertySyncRootGets an object that can be used to synchronize access to the ModelComponentCollection. (Inherited from ModelComponentCollection.)
Top
  NameDescription
Public methodAdd(Int32)Creates and adds a Translation, with the specified language, to the end of the collection.
Protected methodAdd(ModelComponent)Infrastructure. Adds a ModelComponent object to the ModelComponentCollection. (Inherited from ModelComponentCollection.)
Public methodAdd(Translation)Adds a Translation to the end of the collection.
Protected methodAdd(String, IModelComponent)Infrastructure. Adds a IModelComponent object to the ModelComponentCollection. (Inherited from ModelComponentCollection.)
Public methodAdd(Int32, String)Creates and adds a Translation, with the specified language and caption, to the end of the collection.
Protected methodAdd(ModelComponent, Boolean)Infrastructure. Adds a ModelComponent object to the ModelComponentCollection. (Inherited from ModelComponentCollection.)
Protected methodAdd(String, IModelComponent, Boolean)Infrastructure. Adds a IModelComponent object to the ModelComponentCollection. (Inherited from ModelComponentCollection.)
Protected methodAddNew(String, Type)Infrastructure. Adds a new IModelComponent to the collection. (Inherited from ModelComponentCollection.)
Protected methodAddNew(String, String, Type)Infrastructure. Adds a new IModelComponent to the collection. (Inherited from ModelComponentCollection.)
Public methodCanAddInfrastructure. Indicates whether the collection can add a ModelComponent. (Inherited from ModelComponentCollection.)
Protected methodChangeKeyInfrastructure. Changes the specified keys to the collection. (Inherited from ModelComponentCollection.)
Public methodClearRemoves all elements from the ModelComponentCollection. (Inherited from ModelComponentCollection.)
Protected methodContains(String)Determines whether an item with the specified key is in the ModelComponentCollection. (Inherited from ModelComponentCollection.)
Public methodContains(Int32)Indicates whether the collection contains a Translation with the specified language.
Protected methodContains(IModelComponent)Determines whether the specified item is in the collection. (Inherited from ModelComponentCollection.)
Public methodContains(Translation)Indicates whether the collection contains a specified Translation.
Public methodCopyToCopies the entire ModelComponentCollection to a one-dimensional Array, starting at the specified index of the target array. (Inherited from ModelComponentCollection.)
Protected methodEnsureLoadedInfrastructure. Ensures the collection is loaded. (Inherited from ModelComponentCollection.)
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodFindByLanguageIndicates whether the collection contains a Translation with the specified language.
Public methodGetByLanguageIndicates whether the collection contains a Translation with the specified language.
Public methodGetEnumeratorReturns an enumerator that can iterate through the ModelComponentCollection. (Inherited from ModelComponentCollection.)
Public methodGetHashCode (Inherited from Object.)
Protected methodGetItemGets a reference to the specified component. (Inherited from ModelComponentCollection.)
Public methodGetType (Inherited from Object.)
Protected methodIndexOf(String)Returns the zero-based index of the first occurrence of an IModelComponent that has the specified key in the ModelComponentCollection. (Inherited from ModelComponentCollection.)
Public methodIndexOf(Int32)Gets the index of a Translation, with the specified language.
Protected methodIndexOf(IModelComponent)Searches for the specified item and returns its zero-based index within the collection. (Inherited from ModelComponentCollection.)
Public methodIndexOf(Translation)Gets the index of a specified Translation.
Protected methodInsert(Int32, ModelComponent)Infrastructure. Inserts an ModelComponent in the ModelComponentCollection. (Inherited from ModelComponentCollection.)
Public methodInsert(Int32, Translation)Inserts a Translation into the collection at the specified index.
Public methodInsert(Int32, Int32)Creates and inserts a Translation, with the specified language, into the collection at the specified index.
Protected methodInsert(IModelComponent, String, Int32)Infrastructure. Inserts an IModelComponent in the ModelComponentCollection. (Inherited from ModelComponentCollection.)
Protected methodInsert(IModelComponent, String, Int32, Boolean)Infrastructure. Inserts an IModelComponent in the ModelComponentCollection. (Inherited from ModelComponentCollection.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodMove(Int32, Int32)Moves a Translation at the current specified index to a new specified index in the collection.
Public methodMove(Translation, Int32)Moves a Translation to a new index in the collection.
Public methodRemove(Int32)Removes the Translation, with the specified language, from the collection.
Protected methodRemove(IModelComponent)Removes the specified IModelComponent from the collection. (Inherited from ModelComponentCollection.)
Public methodRemove(Translation)Removes the specified Translation from the collection.
Public methodRemove(Int32, Boolean)Infrastructure. Removes the Translation, with the specified language, from the collection.
Public methodRemove(Translation, Boolean)Infrastructure. Removes the specified Translation from the collection.
Public methodRemoveAt(Int32)Removes the IModelComponent at the specified index from the ModelComponentCollection. (Inherited from ModelComponentCollection.)
Public methodRemoveAt(Int32, Boolean)Infrastructure. Removes the IModelComponent at the specified index from the ModelComponentCollection. (Inherited from ModelComponentCollection.)
Public methodToString (Inherited from Object.)
Top
  NameDescription
Public eventCollectionChangedInfrastructure. Occurs when the collection changes. (Inherited from ModelComponentCollection.)
Public eventCollectionChangingInfrastructure. Occurs when the collection is changing. (Inherited from ModelComponentCollection.)
Top
  NameDescription
Explicit interface implemetationPrivate methodIList.AddAdds an item to the collection. (Inherited from ModelComponentCollection.)
Explicit interface implemetationPrivate methodIList.ClearRemoves all items from the collection. (Inherited from ModelComponentCollection.)
Explicit interface implemetationPrivate methodIList.ContainsIndicates whether the collection contains a specific value. (Inherited from ModelComponentCollection.)
Explicit interface implemetationPrivate methodIList.IndexOfDetermines the index of a specific item in the collection. (Inherited from ModelComponentCollection.)
Explicit interface implemetationPrivate methodIList.InsertInserts an item to the collection at the specified index. (Inherited from ModelComponentCollection.)
Explicit interface implemetationPrivate propertyIList.ItemGets or sets the element at the specified index. (Inherited from ModelComponentCollection.)
Explicit interface implemetationPrivate methodIList.RemoveRemoves the first occurrence of a specified object from the collection. (Inherited from ModelComponentCollection.)
Explicit interface implemetationPrivate methodIList.RemoveAtRemoves the item at the specified index. (Inherited from ModelComponentCollection.)
Explicit interface implemetationPrivate methodIModelComponentCollection.ContainsIndicates whether the collection contains a specific value. (Inherited from ModelComponentCollection.)
Explicit interface implemetationPrivate methodIModelComponentCollection.Remove(IModelComponent)Removes the first occurrence of a specific IModelComponent from the ModelComponentCollection. (Inherited from ModelComponentCollection.)
Explicit interface implemetationPrivate methodIModelComponentCollection.Remove(IModelComponent, Boolean)Removes the first occurrence of a specific IModelComponent from the ModelComponentCollection. (Inherited from ModelComponentCollection.)
Explicit interface implemetationPrivate methodIOnDemandLoadableCollection.BlockOnDemandLoadSpecifies the blocked demand load. (Inherited from ModelComponentCollection.)
Explicit interface implemetationPrivate propertyIOnDemandLoadableCollection.LoadedGets or sets a value that indicates whether the collection is loaded. (Inherited from ModelComponentCollection.)
Top
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.