共用方式為


PropertyValueCollection.Remove 方法

在衍生類別中覆寫時,從集合中移除指定的 PropertyValue

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

語法

'宣告
Public MustOverride Function Remove ( _
    propertyValue As PropertyValue _
) As Boolean
public abstract bool Remove(
    PropertyValue propertyValue
)
public:
virtual bool Remove(
    PropertyValue^ propertyValue
) abstract
abstract Remove : 
        propertyValue:PropertyValue -> bool 
public abstract function Remove(
    propertyValue : PropertyValue
) : boolean

參數

傳回值

型別:System.Boolean
如果已順利移除 PropertyValue 則為 true,否則為 false。

備註

在移除物件之後,主應用程式需要確定 PropertyValue 為無效。

.NET Framework 安全性

請參閱

參考

PropertyValueCollection 類別

Microsoft.Windows.Design.PropertyEditing 命名空間

其他資源

WPF 設計工具擴充性

屬性編輯架構