Setting specified flags before serializing objects
- by Bernard
We have a schema that we serialize and deserialize into an object hierarchy.
Some elements are optional in the schema. The xsd tool creates a cs file that inserts a property for each optional element. This property ends in "Specified", i.e. nameSpecified tells the serializer and deserializer to include the optional "name" element when processing.…