Exemplo n.º 1
0
        /// <exception cref="VariantException"></exception>
        /// <exception cref="TjsException"></exception>
        public virtual void SaveStructuredData(AList <Dispatch2> stack, TextWriteStreamInterface
                                               stream, string indentstr)
        {
            stream.Write("(const) %[\n");
            string indentstr2 = indentstr + " ";

            DictionaryNI.SaveStructCallback callback = new DictionaryNI.SaveStructCallback(stack
                                                                                           , stream, indentstr2);
            CustomObject owner = mOwner.Get();

            owner.EnumMembers(Interface.IGNOREPROP, callback, owner);
            if (callback.mCalled)
            {
                stream.Write("\n");
            }
            stream.Write(indentstr);
            stream.Write("]");
        }