public SerializationEnd ( object obj ) : void | ||
obj | object | |
Résultat | void |
public override void Serialize(object obj, XmlWriter writer, SerializationContext state) { try { // Start of serialization state.SerializationStart(obj); // Serialize attributes SerializeAttributes(obj, writer, state); // Serialize elements. SerializeElements(obj, writer, state); //Serialize text SerializeText(obj, writer, state); } finally { // End of serialization state.SerializationEnd(obj); } }
public override void Serialize(object obj, XmlWriter writer, SerializationContext state) { try { // Start of serialization state.SerializationStart(obj); // Serialize attributes SerializeAttributes(obj, writer, state); // Serialize elements. SerializeElements(obj, writer, state); //Serialize text SerializeText(obj, writer, state); } finally { // End of serialization state.SerializationEnd(obj); } }