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
- propertyValue
Type: Microsoft.Windows.Design.PropertyEditing.PropertyValue
The PropertyValue to remove from the collection.
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
Microsoft.Windows.Design.PropertyEditing Namespace