Exemplo n.º 1
0
        public Int32 right(Int32 fMove, out NetOffice.MSHTMLApi.Enums._MARKUP_CONTEXT_TYPE pContext, out NetOffice.MSHTMLApi.IHTMLElement ppElement, Int32 pcch, out Int16 pchText)
        {
            ParameterModifier[] modifiers = Invoker.CreateParamModifiers(false, true, true, false, true);
            pContext  = 0;
            ppElement = null;
            pchText   = 0;
            object[] paramsArray = Invoker.ValidateParamsArray(fMove, pContext, ppElement, pcch, pchText);
            object   returnItem  = Invoker.MethodReturn(this, "right", paramsArray);

            pContext  = (NetOffice.MSHTMLApi.Enums._MARKUP_CONTEXT_TYPE)paramsArray[1];
            ppElement = (NetOffice.MSHTMLApi.IHTMLElement)paramsArray[2];
            pchText   = (Int16)paramsArray[4];
            return(NetRuntimeSystem.Convert.ToInt32(returnItem));
        }
Exemplo n.º 2
0
        public virtual Int32 right(Int32 fMove, out NetOffice.MSHTMLApi.Enums._MARKUP_CONTEXT_TYPE pContext, out NetOffice.MSHTMLApi.IHTMLElement ppElement, Int32 pcch, out Int16 pchText)
        {
            ParameterModifier[] modifiers = Invoker.CreateParamModifiers(false, true, true, false, true);
            pContext  = 0;
            ppElement = null;
            pchText   = 0;
            object[] paramsArray = Invoker.ValidateParamsArray(fMove, pContext, ppElement, pcch, pchText);
            object   returnItem  = Invoker.MethodReturn(this, "right", paramsArray, modifiers);

            pContext = (NetOffice.MSHTMLApi.Enums._MARKUP_CONTEXT_TYPE)paramsArray[1];
            if (paramsArray[2] is MarshalByRefObject)
            {
                ppElement = Factory.CreateKnownObjectFromComProxy <NetOffice.MSHTMLApi.IHTMLElement>(this, paramsArray[2], typeof(NetOffice.MSHTMLApi.IHTMLElement));
            }
            else
            {
                ppElement = null;
            }
            pchText = (Int16)paramsArray[4];
            return(NetRuntimeSystem.Convert.ToInt32(returnItem));
        }