System.ComponentModel.PropertyDescriptor.SetValue Method

When overridden in a derived class, sets the value of the component to a different value.

Syntax

public abstract void SetValue (object component, object value)

Parameters

component
The component with the property value that is to be set.
value
The new value.

Remarks

Typically, this method is implemented through reflection.

This method creates a System.ComponentModel.Design.DesignerTransaction automatically in the following order:

[The 'ordered' type of list has not been implemented in the ECMA stylesheet.]

The purpose of the transaction is to support Undo and Redo functionality.

Requirements

Namespace: System.ComponentModel
Assembly: System (in System.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0, 4.0.0.0