Gets or sets the method called before serialization of the object.
| 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); }
The method called before serialization of the object.