共用方式為


ModelItemCollection.RemoveAt 方法

在衍生類別中覆寫時,從指定的索引上移除項目。

命名空間:  Microsoft.Windows.Design.Model
組件:  Microsoft.Windows.Design.Interaction (在 Microsoft.Windows.Design.Interaction.dll 中)

語法

'宣告
Public MustOverride Sub RemoveAt ( _
    index As Integer _
)
public abstract void RemoveAt(
    int index
)
public:
virtual void RemoveAt(
    int index
) abstract
abstract RemoveAt : 
        index:int -> unit 
public abstract function RemoveAt(
    index : int
)

參數

  • index
    型別:System.Int32
    要移除項目處的索引。

實作

IList<T>.RemoveAt(Int32)

.NET Framework 安全性

請參閱

參考

ModelItemCollection 類別

Microsoft.Windows.Design.Model 命名空間

其他資源

WPF 設計工具擴充性架構