共用方式為


ModelItemCollection.Clear 方法

在衍生類別中覆寫時,清除集合的內容。

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

語法

'宣告
Public MustOverride Sub Clear
public abstract void Clear()
public:
virtual void Clear() abstract
abstract Clear : unit -> unit 
public abstract function Clear()

實作

ICollection<T>.Clear()

.NET Framework 安全性

請參閱

參考

ModelItemCollection 類別

Microsoft.Windows.Design.Model 命名空間

其他資源

WPF 設計工具擴充性架構