PropertyValueCollection.SetIndex 方法

在派生类中重写时,交换集合中的对象的顺序。

命名空间:  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 安全性

请参见

参考

PropertyValueCollection 类

Microsoft.Windows.Design.PropertyEditing 命名空间

其他资源

WPF 设计器扩展性

属性编辑体系结构