Method ShouldSerializeValue
ShouldSerializeValue(object)
Determines a value indicating whether the value of this property needs to be persisted. Dynamic property values are transient, so they always need to be persisted.
public override bool ShouldSerializeValue(object component)
Parameters
component
objectThe component with the property to be examined for persistence.
Returns
- bool
true if the property should be persisted; otherwise, false.