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 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。
請參閱
參考
Microsoft.Windows.Design.PropertyEditing 命名空間