Share via


DesignPropertyDescriptor.SetValue Method

Sets the value of the property to the specified value.

Namespace:  Microsoft.VisualStudio.Shell
Assembly:  Microsoft.VisualStudio.Shell.12.0 (in Microsoft.VisualStudio.Shell.12.0.dll)

Syntax

'Declaration
Public Overrides Sub SetValue ( _
    component As Object, _
    value As Object _
)
public override void SetValue(
    Object component,
    Object value
)
public:
virtual void SetValue(
    Object^ component, 
    Object^ value
) override
abstract SetValue : 
        component:Object * 
        value:Object -> unit  
override SetValue : 
        component:Object * 
        value:Object -> unit
public override function SetValue(
    component : Object, 
    value : Object
)

Parameters

  • component
    Type: Object

    The component that owns the property.

  • value
    Type: Object

    The value to set.

Remarks

This method calls the base method.

.NET Framework Security

See Also

Reference

DesignPropertyDescriptor Class

Microsoft.VisualStudio.Shell Namespace