DesignPropertyDescriptor.SetValue Method
Override. Sets the value of the component to a different value.
Namespace: Microsoft.VisualStudio.Data.Schema.Project.Project.MPF
Assembly: Microsoft.VisualStudio.Data.Schema.Project (in Microsoft.VisualStudio.Data.Schema.Project.dll)
Syntax
'Declaration
Public Overrides Sub SetValue ( _
component As Object, _
value As Object _
)
'Usage
Dim instance As DesignPropertyDescriptor
Dim component As Object
Dim value As Object
instance.SetValue(component, value)
public override void SetValue(
Object component,
Object value
)
public:
virtual void SetValue(
Object^ component,
Object^ value
) override
public override function SetValue(
component : Object,
value : Object
)
abstract SetValue :
component:Object *
value:Object -> unit
override SetValue :
component:Object *
value:Object -> unit
Parameters
- component
Type: System.Object
The component with the property value that is to be set
- value
Type: System.Object
The new value
.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
DesignPropertyDescriptor Class
DesignPropertyDescriptor Members
Microsoft.VisualStudio.Data.Schema.Project.Project.MPF Namespace