Ejemplo n.º 1
0
        /// <summary>
        /// creates a new folder and adds it to parent
        /// </summary>
        /// <param name="name"></param>
        /// <param name="open"></param>
        /// <param name="description"></param>
        /// <param name="parent"></param>
        /// <returns></returns>
        public KmlFolder CreateFolder(string name, int open, string description, KmlElement parent)
        {
            KmlFolder ret = new KmlFolder(this, name, open, description);

            parent.AppendChild(ret);

            return(ret);
        }
Ejemplo n.º 2
0
 public void AppendChild(KmlElement childElementToAdd)
 {
     m_elementNode.AppendChild(childElementToAdd.m_elementNode);
 }
Ejemplo n.º 3
0
 public KmlElement(KmlElement parent, string kmlType, string name, int open, string description)
     : this(parent.ownerDoc, kmlType, name, open, description)
 {
     parent.AppendChild(this);
 }