DataSourceCollection.Move 메서드

정의

오버로드

Move(DataSource, Int32)

지정된 DataSource를 컬렉션의 새 위치로 이동합니다.

Move(Int32, Int32)

컬렉션의 DataSource을 현재 위치에서 새 위치로 이동합니다.

Move(String, Int32)

지정된 식별자를 가진 DataSource을 컬렉션의 새 위치로 이동합니다.

Move(DataSource, Int32)

지정된 DataSource를 컬렉션의 새 위치로 이동합니다.

public void Move (Microsoft.AnalysisServices.DataSource item, int toIndex);
override this.Move : Microsoft.AnalysisServices.DataSource * int -> unit
Public Sub Move (item As DataSource, toIndex As Integer)

매개 변수

item
DataSource

이동할 DataSource입니다.

toIndex
Int32

지정된 DataSource를 이동할 인덱스(0부터 시작)입니다.

예외

  • 지정된 DataSource 가 컬렉션이 없습니다.
  • 지정된 toIndex가 유효한 값이 아닙니다(0보다 작거나 더 크면 총 요소 수).

적용 대상

Move(Int32, Int32)

컬렉션의 DataSource을 현재 위치에서 새 위치로 이동합니다.

public Microsoft.AnalysisServices.DataSource Move (int fromIndex, int toIndex);
override this.Move : int * int -> Microsoft.AnalysisServices.DataSource
Public Function Move (fromIndex As Integer, toIndex As Integer) As DataSource

매개 변수

fromIndex
Int32

이동할 DataSource의 인덱스(0부터 시작)입니다.

toIndex
Int32

fromIndex로 지정된 DataSource를 이동할 인덱스(0부터 시작)입니다.

반환

이동된 DataSource입니다.

예외

  • fromIndex에서 지정된 가 유효한 값이 아닙니다(0보다 작거나 크면 총 요소 수).
  • 지정된 toIndex가 유효한 값이 아닙니다(0보다 작거나 더 크면 총 요소 수).

적용 대상

Move(String, Int32)

지정된 식별자를 가진 DataSource을 컬렉션의 새 위치로 이동합니다.

public Microsoft.AnalysisServices.DataSource Move (string id, int toIndex);
override this.Move : string * int -> Microsoft.AnalysisServices.DataSource
Public Function Move (id As String, toIndex As Integer) As DataSource

매개 변수

id
String

이동할 DataSource의 식별자입니다.

toIndex
Int32

fromIndex로 지정된 DataSource를 이동할 인덱스(0부터 시작)입니다.

반환

이동된 DataSource입니다.

예외

  • id는 컬렉션의 에 DataSource 대한 유효한 식별자가 아닙니다.
  • 지정된 toIndex가 유효한 값이 아닙니다(0보다 작거나 더 크면 총 요소 수).

적용 대상