共用方式為


IDTSInputCollection100.SetIndex(Int32, Int32) Method

Definition

public:
 void SetIndex(int lOldIndex, int lNewIndex);
[System.Runtime.InteropServices.DispId(19)]
public void SetIndex (int lOldIndex, int lNewIndex);
[<System.Runtime.InteropServices.DispId(19)>]
abstract member SetIndex : int * int -> unit
Public Sub SetIndex (lOldIndex As Integer, lNewIndex As Integer)

Parameters

lOldIndex
Int32
lNewIndex
Int32
Attributes

Remarks

The SetIndex method moves the input at the location specified by lOldIndex to the location specified by lNewIndex. If either of the locations in the collection is outside the bounds of the collection, a DTS_E_INVALIDINDEX exception occurs.

Applies to