OnSerializing. On Serializing Method
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The method that is called before serialization.
public: void OnSerializing();
public void OnSerializing ();
abstract member OnSerializing : unit -> unit
Public Sub OnSerializing ()