Share via


PropertyValueCollection.Remove Method

When overridden in a derived class, removes the specified PropertyValue from the collection.

Namespace:  Microsoft.Windows.Design.PropertyEditing
Assembly:  Microsoft.Windows.Design.Interaction (in Microsoft.Windows.Design.Interaction.dll)

Syntax

'Declaration
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

Parameters

Return Value

Type: System.Boolean
true if the PropertyValue was removed successfully; otherwise, false.

Remarks

The host needs to make sure that the PropertyValue is invalid after the object is removed.

.NET Framework Security

See Also

Reference

PropertyValueCollection Class

Microsoft.Windows.Design.PropertyEditing Namespace

Other Resources

WPF Designer Extensibility

Property Editing Architecture