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。) |
上層
執行緒安全性
這個型別的任何公用 static (在 Visual Basic 中為 Shared) 成員都是執行緒安全的。並不是所有的執行個體成員都保證可以用於所有的執行緒。