Click or drag to resize
Json.NET

JPropertyDescriptorShouldSerializeValue Method

 
When overridden in a derived class, determines a value indicating whether the value of this property needs to be persisted.

Namespace:  Newtonsoft.Json.Linq
Assembly:  Newtonsoft.Json (in Newtonsoft.Json.dll) Version: 12.0.1+509643a8952ce731e0207710c429ad6e67dc43db
Syntax
C#
public override bool ShouldSerializeValue(
	Object component
)

Parameters

component
Type: SystemObject
The component with the property to be examined for persistence.

Return Value

Type: Boolean
true if the property should be persisted; otherwise, false.
See Also