Partager via


DesignPropertyDescriptor.CanResetValue Method

Determines whether or not resetting the object changes its value.

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

Syntax

'Declaration
Public Overrides Function CanResetValue ( _
    component As Object _
) As Boolean
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: Object

    The component that owns the property.

Return Value

Type: 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

Microsoft.VisualStudio.Shell Namespace