// entryType can be "properties", "methods", or "events" // tag is "property", "method", or "event" private bool removeXmlEntry(string entryType, string tag, string name) { bool success = m_xml.FindChild2(entryType); if (!success) { return(false); } Chilkat.Xml pXml = m_xml.GetChildWithAttr(tag, "name", name); if (pXml != null) { pXml.RemoveFromTree(); } else { m_xml.GetParent2(); return(false); } m_xml.GetParent2(); return(true); }