TrackingPropertyDescriptor.ResetValue Method
Resets the value of the tracking property.
Namespace: Microsoft.VisualStudio.Modeling.Design
Assembly: Microsoft.VisualStudio.Modeling.Sdk.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.10.0.dll)
Syntax
'宣言
Public Overrides Sub ResetValue ( _
component As Object _
)
public override void ResetValue(
Object component
)
public:
virtual void ResetValue(
Object^ component
) override
abstract ResetValue :
component:Object -> unit
override ResetValue :
component:Object -> unit
public override function ResetValue(
component : Object
)
Parameters
- component
Type: System.Object
The domain element that has the property to reset.
Remarks
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 reset.
Notes to Callers
This method updates the associated Boolean property. You must notify the tracking property that the value has changed.
.NET Framework Security
- 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.