Пример #1
0
        public NetOffice.MSHTMLApi.IHTMLDocument2 createDocumentFromUrl(string bstrUrl, string bstrOptions)
        {
            object[] paramsArray = Invoker.ValidateParamsArray(bstrUrl, bstrOptions);
            object   returnItem  = Invoker.MethodReturn(this, "createDocumentFromUrl", paramsArray);

            NetOffice.MSHTMLApi.IHTMLDocument2 newObject = Factory.CreateObjectFromComProxy(this, returnItem) as NetOffice.MSHTMLApi.IHTMLDocument2;
            return(newObject);
        }
Пример #2
0
        public NetOffice.MSHTMLApi.IHTMLDocument2 createDocumentFragment()
        {
            object[] paramsArray = null;
            object   returnItem  = Invoker.MethodReturn(this, "createDocumentFragment", paramsArray);

            NetOffice.MSHTMLApi.IHTMLDocument2 newObject = NetOffice.Factory.CreateObjectFromComProxy(this, returnItem) as NetOffice.MSHTMLApi.IHTMLDocument2;
            return(newObject);
        }
Пример #3
0
        public NetOffice.MSHTMLApi.IHTMLDocument2 WebBrowserControlFrame(object frameName)
        {
            object[] paramsArray = Invoker.ValidateParamsArray(frameName);
            object   returnItem  = Invoker.MethodReturn(this, "WebBrowserControlFrame", paramsArray);

            NetOffice.MSHTMLApi.IHTMLDocument2 newObject = Factory.CreateKnownObjectFromComProxy(this, returnItem, NetOffice.MSHTMLApi.IHTMLDocument2.LateBindingApiWrapperType) as NetOffice.MSHTMLApi.IHTMLDocument2;
            return(newObject);
        }
Пример #4
0
        public NetOffice.MSHTMLApi.IHTMLDocument2 WebBrowserControlWindow()
        {
            object[] paramsArray = null;
            object   returnItem  = Invoker.MethodReturn(this, "WebBrowserControlWindow", paramsArray);

            NetOffice.MSHTMLApi.IHTMLDocument2 newObject = NetOffice.Factory.CreateKnownObjectFromComProxy(this, returnItem, NetOffice.MSHTMLApi.IHTMLDocument2.LateBindingApiWrapperType) as NetOffice.MSHTMLApi.IHTMLDocument2;
            return(newObject);
        }
Пример #5
0
        public Int32 OwningDoc(out NetOffice.MSHTMLApi.IHTMLDocument2 ppDoc)
        {
            ParameterModifier[] modifiers = Invoker.CreateParamModifiers(true);
            ppDoc = null;
            object[] paramsArray = Invoker.ValidateParamsArray(ppDoc);
            object   returnItem  = Invoker.MethodReturn(this, "OwningDoc", paramsArray);

            ppDoc = (NetOffice.MSHTMLApi.IHTMLDocument2)paramsArray[0];
            return(NetRuntimeSystem.Convert.ToInt32(returnItem));
        }
Пример #6
0
        public Int32 OwningDoc(out NetOffice.MSHTMLApi.IHTMLDocument2 ppDoc)
        {
            ParameterModifier[] modifiers = Invoker.CreateParamModifiers(true);
            ppDoc = null;
            object[] paramsArray = Invoker.ValidateParamsArray(ppDoc);
            object   returnItem  = Invoker.MethodReturn(this, "OwningDoc", paramsArray, modifiers);

            if (paramsArray[0] is MarshalByRefObject)
            {
                ppDoc = new NetOffice.MSHTMLApi.IHTMLDocument2(this, paramsArray[0]);
            }
            else
            {
                ppDoc = null;
            }
            return(NetRuntimeSystem.Convert.ToInt32(returnItem));
        }