OnSerializing Property

Json.NET

Json.NET - Quick Starts & API Documentation OnSerializing Property
NamespacesNewtonsoft.Json.SerializationJsonContractOnSerializing
Gets or sets the method called before serialization of the object.
Declaration Syntax
C# Visual Basic Visual C++
public MethodInfo OnSerializing { get; set; }
Public Property OnSerializing As MethodInfo
	Get
	Set
public:
property MethodInfo^ OnSerializing {
	MethodInfo^ get ();
	void set (MethodInfo^ value);
}
Value
The method called before serialization of the object.

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