FT.DB.Document.OnSerializing C# (CSharp) Method