CalculationPropertyCollection.Insert 메서드
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
오버로드
Insert(Int32, CalculationProperty) |
지정된 CalculationProperty을 컬렉션에서 지정된 인덱스에 삽입합니다. |
Insert(Int32, String) |
지정한 계산 참조를 사용하여 새 CalculationProperty 개체를 만들고, 지정한 인덱스에서 컬렉션에 삽입하고, 만든 새 CalculationProperty를 반환합니다. |
Insert(Int32, CalculationProperty)
지정된 CalculationProperty을 컬렉션에서 지정된 인덱스에 삽입합니다.
public void Insert (int index, Microsoft.AnalysisServices.CalculationProperty item);
override this.Insert : int * Microsoft.AnalysisServices.CalculationProperty -> unit
Public Sub Insert (index As Integer, item As CalculationProperty)
매개 변수
- index
- Int32
CalculationProperty를 삽입할 인덱스(0부터 시작)입니다.
- item
- CalculationProperty
삽입할 CalculationProperty입니다.
예외
지정된 인덱스는 유효한 값이 아닙니다(0보다 작거나 총 요소 수보다 큼).
- 지정된 항목은 null 참조(Visual Basic의 경우 Nothing)입니다.
- 지정된 항목이 이미 컬렉션에 있습니다.
- 지정된 CalculationProperty 의 Calculation-Reference 컬렉션에서 유효하지 않습니다.
- 지정된 CalculationProperty 의 호환성 수준이 컬렉션에서 유효하지 않습니다.
적용 대상
Insert(Int32, String)
지정한 계산 참조를 사용하여 새 CalculationProperty 개체를 만들고, 지정한 인덱스에서 컬렉션에 삽입하고, 만든 새 CalculationProperty를 반환합니다.
public Microsoft.AnalysisServices.CalculationProperty Insert (int index, string calculationReference);
override this.Insert : int * string -> Microsoft.AnalysisServices.CalculationProperty
Public Function Insert (index As Integer, calculationReference As String) As CalculationProperty
매개 변수
- index
- Int32
CalculationProperty를 삽입할 인덱스(0부터 시작)입니다.
- calculationReference
- String
새 CalculationProperty 개체에 대한 계산 참조입니다.
반환
새로 만든 CalculationProperty 개체입니다.
예외
지정된 인덱스는 유효한 값이 아닙니다(0보다 작거나 총 요소 수보다 큼).
지정한 계산 참조는 컬렉션에서 올바르지 않습니다.