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 | 基礎結構。 (繼承自 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 | 基礎結構。 (覆寫 ModelComponentCollection. . :: . .ItemsType。) | |
Parent | Gets the IModelComponent that contains the ModelComponentCollection. (繼承自 ModelComponentCollection。) | |
Preloadable | 基礎結構。 (繼承自 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) | 基礎結構。 (繼承自 ModelComponentCollection。) | |
Add(Translation) | Adds a Translation to the end of the collection. | |
Add(String, IModelComponent) | (繼承自 ModelComponentCollection。) | |
Add(Int32, String) | Creates and adds a Translation, with the specified language and caption, to the end of the collection. | |
Add(ModelComponent, Boolean) | 基礎結構。 (繼承自 ModelComponentCollection。) | |
Add(String, IModelComponent, Boolean) | (繼承自 ModelComponentCollection。) | |
AddNew(String, Type) | 基礎結構。 (繼承自 ModelComponentCollection。) | |
AddNew(String, String, Type) | 基礎結構。 (繼承自 ModelComponentCollection。) | |
CanAdd | 基礎結構。 (繼承自 ModelComponentCollection。) | |
ChangeKey | 基礎結構。 (繼承自 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) | (繼承自 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 | 基礎結構。 (繼承自 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) | (繼承自 ModelComponentCollection。) | |
IndexOf(Translation) | Gets the index of a specified Translation. | |
Insert(Int32, ModelComponent) | 基礎結構。 (繼承自 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) | (繼承自 ModelComponentCollection。) | |
Insert(IModelComponent, String, Int32, Boolean) | (繼承自 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) | (繼承自 ModelComponentCollection。) | |
Remove(Translation) | Removes the specified Translation from the collection. | |
Remove(Int32, Boolean) | 基礎結構。 | |
Remove(Translation, Boolean) | 基礎結構。 | |
RemoveAt(Int32) | Removes the IModelComponent at the specified index from the ModelComponentCollection. (繼承自 ModelComponentCollection。) | |
RemoveAt(Int32, Boolean) | 基礎結構。 (繼承自 ModelComponentCollection。) | |
ToString | (繼承自 Object。) |
上層
事件
名稱 | 說明 | |
---|---|---|
CollectionChanged | 基礎結構。 (繼承自 ModelComponentCollection。) | |
CollectionChanging | 基礎結構。 (繼承自 ModelComponentCollection。) |
上層
明確 繼承 實作
上層
執行緒安全性
這個型別的任何公用 static (在 Visual Basic 中為 Shared) 成員都是執行緒安全的。並不是所有的執行個體成員都保證可以用於所有的執行緒。