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


Класс Translation

Provides a localized translation for its parent object.

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

System.Object
  System.MarshalByRefObject
    System.ComponentModel.Component
      Microsoft.AnalysisServices.ModelComponent
        Microsoft.AnalysisServices.Translation
          Microsoft.AnalysisServices.AttributeTranslation

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

Синтаксис

'Декларация
<GuidAttribute("14E12A78-5BD7-41cd-815B-CC5826265866")> _
Public Class Translation _
    Inherits ModelComponent _
    Implements ICloneable
'Применение
Dim instance As Translation
[GuidAttribute("14E12A78-5BD7-41cd-815B-CC5826265866")]
public class Translation : ModelComponent, 
    ICloneable
[GuidAttribute(L"14E12A78-5BD7-41cd-815B-CC5826265866")]
public ref class Translation : public ModelComponent, 
    ICloneable
[<GuidAttribute("14E12A78-5BD7-41cd-815B-CC5826265866")>]
type Translation =  
    class 
        inherit ModelComponent 
        interface ICloneable 
    end
public class Translation extends ModelComponent implements ICloneable

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

Конструкторы

  Имя Описание
Открытый метод Translation() Initializes a new instance of the Translation class using the default values.
Открытый метод Translation(Int32) Initializes a new instance of the Translation class using a language parameter.
Открытый метод Translation(Int32, String) Initializes a new instance of the Translation class using the specified language and caption information.

В начало

Свойства

  Имя Описание
Открытое свойство Annotations Gets a collection within which you can store custom data. (Производный от ModelComponent.)
Защищенное свойство CanRaiseEvents (Производный от Component.)
Открытое свойство Caption Gets or sets the caption to be used for display by clients.
Открытое свойство CollectionCaption Gets or sets the collection caption of the translation.
Открытое свойство Container (Производный от Component.)
Открытое свойство Description Gets or sets the description of a translation.
Защищенное свойство DesignMode (Производный от Component.)
Открытое свойство DisplayFolder Gets or sets the display folder of a translation.
Защищенное свойство Events (Производный от Component.)
Защищенное свойство FriendlyName Инфраструктура. Gets the friendly name of the translation. (Переопределяет ModelComponent.FriendlyName.)
Защищенное свойство KeyForCollection Инфраструктура. Gets the value of the key for the collection. (Переопределяет ModelComponent.KeyForCollection.)
Открытое свойство Language Gets or sets the language defined by a locale identifier code for a Translation.
Открытое свойство OwningCollection Gets or sets the collection that contains the ModelComponent. (Производный от ModelComponent.)
Открытое свойство Parent Инфраструктура. Gets the IModelComponent object that is the parent of the ModelComponent object. (Производный от ModelComponent.)
Открытое свойство Site (Производный от Component.)

В начало

Методы

  Имя Описание
Защищенный метод AddToContainer Инфраструктура. Adds a ModelComponent object to the specified container. (Производный от ModelComponent.)
Защищенный метод AfterInsert Инфраструктура. Displays a ModelComponent object after added to the specified index. (Производный от ModelComponent.)
Защищенный метод AfterMove Инфраструктура. Displays a ModelComponent object after moving to the specified index. (Производный от ModelComponent.)
Защищенный метод AfterRemove Инфраструктура. Displays a ModelComponentCollection after a ModelComponent object is removed. (Производный от ModelComponent.)
Защищенный метод BeforeRemove Инфраструктура. Removes the ModelComponent object before the cleanup. (Производный от ModelComponent.)
Открытый метод Clone Creates a new, full copy of an object.
Защищенный метод CopyTo(ModelComponent) Инфраструктура. Copies a ModelComponent object to the specified object. (Производный от ModelComponent.)
Открытый метод CopyTo(Translation) Copies an Translation to the specified object.
Открытый метод CreateObjRef Важный элемент безопасности. (Производный от MarshalByRefObject.)
Открытый метод Dispose() (Производный от Component.)
Защищенный метод Dispose(Boolean) (Производный от Component.)
Открытый метод Equals (Производный от Object.)
Защищенный метод Finalize (Производный от Component.)
Открытый метод GetHashCode (Производный от Object.)
Открытый метод GetLifetimeService Важный элемент безопасности. (Производный от MarshalByRefObject.)
Защищенный метод GetService (Производный от Component.)
Открытый метод GetType (Производный от Object.)
Открытый метод InitializeLifetimeService Важный элемент безопасности. (Производный от MarshalByRefObject.)
Защищенный метод MemberwiseClone() (Производный от Object.)
Защищенный метод MemberwiseClone(Boolean) (Производный от MarshalByRefObject.)
Защищенный метод RemoveFromContainer Инфраструктура. Removes a ModelComponent object from the specified container. (Производный от ModelComponent.)
Защищенный метод Reset Инфраструктура. Resets the component to an initial state. (Производный от ModelComponent.)
Открытый метод Submit() Инфраструктура. Submits a ModelComponent object. (Производный от ModelComponent.)
Открытый метод Submit(Boolean) Инфраструктура. Submits a ModelComponent object. (Производный от ModelComponent.)
Открытый метод ToString Инфраструктура. Returns a string that represents the current object. (Производный от ModelComponent.)
Открытый метод Validate(ValidationErrorCollection) Validates the element to which it is appended; returns any errors encountered in a collection. (Производный от ModelComponent.)
Открытый метод Validate(ValidationErrorCollection, Boolean) Validates the element to which it is appended; returns any errors encountered in a collection. Also contains a parameter to enable return of detailed errors. (Производный от ModelComponent.)
Открытый метод Validate(ValidationErrorCollection, Boolean, ServerEdition) Indicates whether a ModelComponent object is valid. (Производный от ModelComponent.)

В начало

События

  Имя Описание
Открытое событие Disposed (Производный от Component.)

В начало

Явные реализации интерфейса

  Имя Описание
Явная реализация интерфейсаЗакрытый метод ICloneable.Clone Creates a copy of the Translation object.
Явная реализация интерфейсаЗакрытое свойство IHostableComponent.Host Gets or sets the IServiceProvider that is the host of the ModelComponent. (Производный от ModelComponent.)
Явная реализация интерфейсаЗакрытое свойство IModelComponent.FriendlyPath Gets a friendly path for the ModelComponent. (Производный от ModelComponent.)
Явная реализация интерфейсаЗакрытое свойство IModelComponent.OwningCollection Gets or sets the collection that owns the current object. (Производный от ModelComponent.)

В начало

Безопасность многопоточности

Любые открытые статический (Shared в Visual Basic) элементы этого типа потокобезопасны. Потокобезопасность с элементами экземпляров не гарантируется.

См. также

Справочник

Пространство имен Microsoft.AnalysisServices