This topic has not yet been rated - Rate this topic

TranslationCollection.Insert Method (Int32, Int32)

Creates and inserts a Translation, with the specified language, into the collection at the specified index.

Namespace:  Microsoft.AnalysisServices
Assembly:  Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)
public Translation Insert(
	int index,
	int language
)

Parameters

index
Type: System.Int32
The zero-based index at which the new Translation will be inserted.
language
Type: System.Int32
The language of the Translation to be inserted.

Return Value

Type: Microsoft.AnalysisServices.Translation
The Translation inserted into the collection.
ExceptionCondition
ArgumentOutOfRangeException

index is less than zero.

-or-

index is equal to or greater than [H:Microsoft.AnalysisServices.ModelComponentCollection.Count].

Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.