다음을 통해 공유


DesignPropertyDescriptor.CanResetValue Method

Determines whether or not resetting the object changes its 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 Function CanResetValue ( _
    component As Object _
) As Boolean
‘사용 방법
Dim instance As DesignPropertyDescriptor
Dim component As Object
Dim returnValue As Boolean

returnValue = instance.CanResetValue(component)
public override bool CanResetValue(
    Object component
)
public:
virtual bool CanResetValue(
    Object^ component
) override
abstract CanResetValue : 
        component:Object -> bool 
override CanResetValue : 
        component:Object -> bool 
public override function CanResetValue(
    component : Object
) : boolean

Parameters

  • component
    Type: System.Object
    The component that owns the property.

Return Value

Type: System.Boolean
true if resetting the component changes its value, otherwise false.

Remarks

This method calls the base method.

.NET Framework Security

See Also

Reference

DesignPropertyDescriptor Class

DesignPropertyDescriptor Members

Microsoft.VisualStudio.Shell Namespace