PerspectiveCalculationCollection.Insert 메서드

정의

오버로드

Insert(Int32, String)

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

Insert(Int32, String, PerspectiveCalculationType)

지정된 이름 및 형식을 사용하여 새 PerspectiveCalculation 개체를 만들고 컬렉션에서 지정된 인덱스에 삽입하고 새로 만든 PerspectiveCalculation을 반환합니다.

Insert(Int32, PerspectiveCalculation)

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

Insert(Int32, String)

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

public Microsoft.AnalysisServices.PerspectiveCalculation Insert (int index, string name);
override this.Insert : int * string -> Microsoft.AnalysisServices.PerspectiveCalculation
Public Function Insert (index As Integer, name As String) As PerspectiveCalculation

매개 변수

index
Int32

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

name
String

PerspectiveCalculation 개체의 이름입니다.

반환

새로 만든 PerspectiveCalculation 개체입니다.

예외

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

지정된 이름이 컬렉션에서 유효하지 않습니다.

적용 대상

Insert(Int32, String, PerspectiveCalculationType)

지정된 이름 및 형식을 사용하여 새 PerspectiveCalculation 개체를 만들고 컬렉션에서 지정된 인덱스에 삽입하고 새로 만든 PerspectiveCalculation을 반환합니다.

public Microsoft.AnalysisServices.PerspectiveCalculation Insert (int index, string name, Microsoft.AnalysisServices.PerspectiveCalculationType type);
override this.Insert : int * string * Microsoft.AnalysisServices.PerspectiveCalculationType -> Microsoft.AnalysisServices.PerspectiveCalculation
Public Function Insert (index As Integer, name As String, type As PerspectiveCalculationType) As PerspectiveCalculation

매개 변수

index
Int32

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

name
String

PerspectiveCalculation 개체의 이름입니다.

type
PerspectiveCalculationType

PerspectiveCalculation 개체의 형식입니다.

반환

새로 만든 PerspectiveCalculation 개체입니다.

예외

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

지정된 이름이 컬렉션에서 유효하지 않습니다.

적용 대상

Insert(Int32, PerspectiveCalculation)

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

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

매개 변수

index
Int32

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

예외

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

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

적용 대상