public virtual Int32 Current(out NetOffice.MSHTMLApi.ISegment ppISegment)
        {
            ParameterModifier[] modifiers = Invoker.CreateParamModifiers(true);
            ppISegment = null;
            object[] paramsArray = Invoker.ValidateParamsArray(ppISegment);
            object   returnItem  = Invoker.MethodReturn(this, "Current", paramsArray, modifiers);

            if (paramsArray[0] is MarshalByRefObject)
            {
                ppISegment = Factory.CreateKnownObjectFromComProxy <NetOffice.MSHTMLApi.ISegment>(this, paramsArray[0], typeof(NetOffice.MSHTMLApi.ISegment));
            }
            else
            {
                ppISegment = null;
            }
            return(NetRuntimeSystem.Convert.ToInt32(returnItem));
        }
Example #2
0
 public virtual Int32 RemoveSegment(NetOffice.MSHTMLApi.ISegment pISegment)
 {
     return(InvokerService.InvokeInternal.ExecuteInt32MethodGet(this, "RemoveSegment", pISegment));
 }
Example #3
0
        public virtual Int32 AddSegment(NetOffice.MSHTMLApi.IMarkupPointer pIStart, NetOffice.MSHTMLApi.IMarkupPointer pIEnd, out NetOffice.MSHTMLApi.ISegment ppISegmentAdded)
        {
            ParameterModifier[] modifiers = Invoker.CreateParamModifiers(false, false, true);
            ppISegmentAdded = null;
            object[] paramsArray = Invoker.ValidateParamsArray(pIStart, pIEnd, ppISegmentAdded);
            object   returnItem  = Invoker.MethodReturn(this, "AddSegment", paramsArray, modifiers);

            if (paramsArray[2] is MarshalByRefObject)
            {
                ppISegmentAdded = Factory.CreateKnownObjectFromComProxy <NetOffice.MSHTMLApi.ISegment>(this, paramsArray[2], typeof(NetOffice.MSHTMLApi.ISegment));
            }
            else
            {
                ppISegmentAdded = null;
            }
            return(NetRuntimeSystem.Convert.ToInt32(returnItem));
        }