TranslationCollection.Insert 메서드

정의

오버로드

Insert(Int32, Int32)

지정된 언어를 사용하여 새 Translation 개체를 만들고, 컬렉션에서 지정된 인덱스에 삽입하고, 만든 새 Translation을 반환합니다.

Insert(Int32, Translation)

지정된 Translation을 컬렉션에서 지정된 인덱스에 삽입합니다.

Insert(Int32, Int32)

지정된 언어를 사용하여 새 Translation 개체를 만들고, 컬렉션에서 지정된 인덱스에 삽입하고, 만든 새 Translation을 반환합니다.

public Microsoft.AnalysisServices.Translation Insert (int index, int language);
override this.Insert : int * int -> Microsoft.AnalysisServices.Translation
Public Function Insert (index As Integer, language As Integer) As Translation

매개 변수

index
Int32

Translation를 삽입할 인덱스(0부터 시작)입니다.

language
Int32

Translation 개체에 대한 언어입니다.

반환

새로 만든 Translation 개체입니다.

예외

지정된 인덱스는 유효한 값이 아닙니다(0보다 작거나 총 요소 수보다 큼).

지정된 언어는 컬렉션에서 유효하지 않습니다.

적용 대상

Insert(Int32, Translation)

지정된 Translation을 컬렉션에서 지정된 인덱스에 삽입합니다.

public void Insert (int index, Microsoft.AnalysisServices.Translation item);
override this.Insert : int * Microsoft.AnalysisServices.Translation -> unit
Public Sub Insert (index As Integer, item As Translation)

매개 변수

index
Int32

Translation를 삽입할 인덱스(0부터 시작)입니다.

item
Translation

삽입할 Translation입니다.

예외

지정된 인덱스는 유효한 값이 아닙니다(0보다 작거나 총 요소 수보다 큼).

  • 지정된 항목은 null 참조(Visual Basic의 경우 Nothing)입니다.
  • 지정된 항목이 이미 컬렉션에 있습니다.
  • 지정된 Translation 의 언어가 컬렉션에서 유효하지 않습니다.
  • 지정된 Translation 의 호환성 수준이 컬렉션에서 유효하지 않습니다.

적용 대상