GH_LooseChunkSerialize_Xml Method |
Namespace: GH_IO.Serialization
public string CreateXML(string archive_name, string[] item_names, int[] item_values) { GH_LooseChunk chunk = new GH_LooseChunk(archive_name); for (int i = 0; i < item_names.Length; i++) { chunk.SetInt32(item_names[i], i, item_values[i]); } return chunk.Serialize_Xml(); }