다음을 통해 공유


Translation Class

Definition

Provides a localized translation for its parent object.

[System.Runtime.InteropServices.Guid("14E12A78-5BD7-41cd-815B-CC5826265866")]
public class Translation : Microsoft.AnalysisServices.ModelComponent, ICloneable
[<System.Runtime.InteropServices.Guid("14E12A78-5BD7-41cd-815B-CC5826265866")>]
type Translation = class
    inherit ModelComponent
    interface ICloneable
Public Class Translation
Inherits ModelComponent
Implements ICloneable
Inheritance
Derived
Attributes
Implements

Constructors

Translation()

Initializes a new instance of the Translation class using the default values.

Translation(Int32, String)

Initializes a new instance of the Translation class using the specified language and caption information.

Translation(Int32)

Initializes a new instance of the Translation class using the specified language.

Properties

Annotations

Gets a collection within which you can store custom data.

(Inherited from ModelComponent)
Caption

Gets or sets the caption to be used for display by clients.

CollectionCaption

Gets or sets the collection caption of the translation.

Description

Gets or sets the description of the translation.

DisplayFolder

Gets or sets the display folder of the translation.

FriendlyName

Gets a user-friendly name for the translation.

KeyForCollection

Gets the value of the key used in collections.

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.

(Inherited from ModelComponent)
Parent

Gets the IModelComponent object that is the parent of the ModelComponent object.

(Inherited from ModelComponent)

Methods

AddToContainer(IContainer)

Adds the ModelComponent object to the specified container.

(Inherited from ModelComponent)
AfterInsert(Int32)

Displays a ModelComponent object after added to the specified index.

(Inherited from ModelComponent)
AfterMove(Int32, Int32)

Displays a ModelComponent object after moving to the specified index.

(Inherited from ModelComponent)
AfterRemove(ModelComponentCollection)

Displays a ModelComponentCollection after a ModelComponent object is removed.

(Inherited from ModelComponent)
BeforeRemove(Boolean)

Removes the ModelComponent object before the cleanup.

(Inherited from ModelComponent)
Clone()

Returns a clone of the object.

CopyTo(ModelComponent)

Copies a ModelComponent object to the specified object.

(Inherited from ModelComponent)
CopyTo(Translation)

Copies the content of this object to another object (the destination).

RemoveFromContainer(IContainer)

Removes the ModelComponent object from the specified container.

(Inherited from ModelComponent)
Reset()

Resets the component to an initial state.

(Inherited from ModelComponent)
Submit()

Submits a ModelComponent object.

(Inherited from ModelComponent)
Submit(Boolean)

Submits a ModelComponent object.

(Inherited from ModelComponent)
ToString()

Returns a string that represents the current object.

(Inherited from ModelComponent)
Validate(ValidationErrorCollection, Boolean, ServerEdition)

Indicates whether a ModelComponent object is valid.

(Inherited from 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.

(Inherited from ModelComponent)
Validate(ValidationErrorCollection)

Validates the element to which it is appended; returns any errors encountered in a collection.

(Inherited from ModelComponent)

Explicit Interface Implementations

ICloneable.Clone()
IHostableComponent.Host (Inherited from ModelComponent)
IModelComponent.FriendlyPath (Inherited from ModelComponent)
IModelComponent.OwningCollection (Inherited from ModelComponent)

Applies to