在派生类中重写时,交换集合中的对象的顺序。
命名空间:  Microsoft.Windows.Design.PropertyEditing
程序集:  Microsoft.Windows.Design.Interaction(在 Microsoft.Windows.Design.Interaction.dll 中)
语法
声明
Public MustOverride Sub SetIndex ( _
    currentIndex As Integer, _
    newIndex As Integer _
)
public abstract void SetIndex(
    int currentIndex,
    int newIndex
)
public:
virtual void SetIndex(
    int currentIndex, 
    int newIndex
) abstract
abstract SetIndex : 
        currentIndex:int * 
        newIndex:int -> unit 
public abstract function SetIndex(
    currentIndex : int, 
    newIndex : int
)
参数
- currentIndex
 类型:System.Int32
 第一个对象的索引。
- newIndex
 类型:System.Int32
 第二个对象的索引。
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关更多信息,请参见通过部分受信任的代码使用库。
请参见
参考
Microsoft.Windows.Design.PropertyEditing 命名空间