public static class GraphicsExtension { public static void SerializeGraphics(this IList<Graphic> graphics, XmlWriter writer) { XMLSerialize(writer, new SerializableGraphicCollection(graphics)); } public static void DeserializeGraphics(this IList<Graphic> graphics, XmlReader reader) { foreach (SerializableGraphic g in XMLDeserialize<SerializableGraphicCollection>(reader)) { graphics.Add(g.Graphic); } } ......
public SerializableGraphicCollection(IEnumerable<Graphic> graphicCollection)
Angemeldete Mitglieder können Beiträge verfassen, Updates folgen und mehr. Neu hier? Registriere ein kostenloses Konto.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.