다음을 통해 공유


DesignPropertyDescriptor.SetValue Method

Sets the value of the property to the specified value.

Namespace:  Microsoft.VisualStudio.Shell
Assemblies:   Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)
  Microsoft.VisualStudio.Shell (in Microsoft.VisualStudio.Shell.dll)
  Microsoft.VisualStudio.Shell.9.0 (in Microsoft.VisualStudio.Shell.9.0.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
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: System.Object
    The component that owns the property.

Remarks

This method calls the base method.

.NET Framework Security

See Also

Reference

DesignPropertyDescriptor Class

DesignPropertyDescriptor Members

Microsoft.VisualStudio.Shell Namespace