ShouldSerializeValue Method (component)

Json.NET

Json.NET - Quick Starts & API Documentation ShouldSerializeValue Method (component)
NamespacesNewtonsoft.Json.Linq.ComponentModelJPropertyDescriptorShouldSerializeValue(Object)
When overridden in a derived class, determines a value indicating whether the value of this property needs to be persisted.
Declaration Syntax
C# Visual Basic Visual C++
public override bool ShouldSerializeValue(
	Object component
)
Public Overrides Function ShouldSerializeValue ( _
	component As Object _
) As Boolean
public:
virtual bool ShouldSerializeValue(
	Object^ component
) override
Parameters
component (Object)
The component with the property to be examined for persistence.
Return Value
true if the property should be persisted; otherwise, false.

Assembly: Newtonsoft.Json (Module: Newtonsoft.Json) Version: 4.0.2.0 (4.0.2.13623)