TrackingPropertyDescriptor.ShouldSerializeValue Method
Indicates whether the value of the tracking property should be serialized.
Namespace: Microsoft.VisualStudio.Modeling.Design
Assembly: Microsoft.VisualStudio.Modeling.Sdk.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.10.0.dll)
Syntax
'宣言
Public Overrides Function ShouldSerializeValue ( _
component As Object _
) As Boolean
public override bool ShouldSerializeValue(
Object component
)
public:
virtual bool ShouldSerializeValue(
Object^ component
) override
abstract ShouldSerializeValue :
component:Object -> bool
override ShouldSerializeValue :
component:Object -> bool
public override function ShouldSerializeValue(
component : Object
) : boolean
Parameters
- component
Type: System.Object
The domain element that has the property to check.
Return Value
Type: System.Boolean
true if the value of the domain property should be serialized; otherwise, false.
Remarks
This method returns true if the described property has been updated by the user and is not currently tracking.
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
- 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.