Sets the (serializable) value of the specified control property.
| C# | Visual Basic | Visual C++ |
public virtual void SetPropertyValue( BindingFlags flags, string name, Object value )
Public Overridable Sub SetPropertyValue ( _ flags As BindingFlags, _ name As String, _ value As Object _ )
public: virtual void SetPropertyValue( BindingFlags flags, String^ name, Object^ value )
- flags (BindingFlags)
- A combination of flags that further specify which property to set.
- name (String)
- The name of the property.
- value (Object)
- The value (must be serializable) to set the property to.
| Exception | Condition |
|---|---|
| ActionFailedException | Thrown if invoking the action failed. |
