Example #1
0
        static void TestBuildVariant()
        {
            Variant v = new Variant();

            string format = v.GetVariantStringFormat();
            Console.WriteLine("VariantStringFormat  = {0}", format);
            string value = v.ToString();
            Console.WriteLine("VariantString        = {0}", value);
            string options = v.GetVariantStringOptions("\t");
            Console.WriteLine("VariantStringOptions = \n{0}", options);

            Variant v2 = new Variant();
            v2.FromString("Develop.x64.NopeNotThisTime");
            Console.WriteLine("FromString,ToString  = {0}", v2.ToString());
        }