TrackingPropertyDescriptor.CanResetValue Method

Indicates whether the value of the domain property can be reset.

Namespace:  Microsoft.VisualStudio.Modeling.Design
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.10.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

Return Value

Type: System.Boolean
true if the domain property can be reset; otherwise, false.

Remarks

A tracking property can be reset if it has been updated by the user and is not currently tracking. When a tracking property is reset, it reverts to the tracking state.

If the tracking property descriptor is not associated with a model element, then the component parameter indicates the model element that has the property to check.

.NET Framework Security

See Also

Reference

TrackingPropertyDescriptor Class

Microsoft.VisualStudio.Modeling.Design Namespace