PropertyValueCollection.SetIndex(Int32, Int32) 方法

定义

将现有项移到集合中的新位置后,重新计算对象集合 PropertyValue 中的索引。

public:
 abstract void SetIndex(int currentIndex, int newIndex);
public abstract void SetIndex(int currentIndex, int newIndex);
abstract member SetIndex : int * int -> unit
Public MustOverride Sub SetIndex (currentIndex As Integer, newIndex As Integer)

参数

currentIndex
Int32

集合中对象的当前位置索引。

newIndex
Int32

项移动到的索引位置。

适用于