Sets the value of the property to the specified value.
Namespace: Microsoft.VisualStudio.Package
Assembly: MPF.Project.NonShipping (in MPF.Project.NonShipping.dll)
Syntax
'宣言
Public Overrides Sub SetValue ( _
component As Object, _
value As Object _
)
'使用
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
)
Parameters
component
Type: System.ObjectThe component that owns the property.
value
Type: System.ObjectThe value to set.
Remarks
This method calls the base method.
Permissions
- 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