示例#1
0
        public static MetaDataTreeNode create(XMPLib.MetaData data)
        {
            List <MetaDataProperty> propsList = new List <MetaDataProperty>();

            data.iterate(Consts.IterOptions.XMP_IterJustLeafNodes, ref propsList);

            MetaDataTreeNode root = new MetaDataTreeNameSpaceNode("root");

            foreach (MetaDataProperty p in propsList)
            {
                string path = p.path;

                //Debug.Print(p.path);
                root.insertNode(p.path, p.value);
            }

            return(root);
        }
示例#2
0
        public static MetaDataTreeNode create(XMPLib.MetaData data)
        {

            List<MetaDataProperty> propsList = new List<MetaDataProperty>();

            data.iterate(Consts.IterOptions.XMP_IterJustLeafNodes, ref propsList);

            MetaDataTreeNode root = new MetaDataTreeNameSpaceNode("root");

            foreach (MetaDataProperty p in propsList)
            {

                string path = p.path;

                //Debug.Print(p.path);
                root.insertNode(p.path, p.value);

            }

            return (root);
        }