示例#1
0
        public virtual Int32 RemoteNext(Int32 cElt, out NetOffice.OWC10Api.IOleUndoUnit rgElt, out Int32 pcEltFetched)
        {
            ParameterModifier[] modifiers = Invoker.CreateParamModifiers(false, true, true);
            rgElt        = null;
            pcEltFetched = 0;
            object[] paramsArray = Invoker.ValidateParamsArray(cElt, rgElt, pcEltFetched);
            object   returnItem  = Invoker.MethodReturn(this, "RemoteNext", paramsArray, modifiers);

            if (paramsArray[1] is MarshalByRefObject)
            {
                rgElt = Factory.CreateObjectFromComProxy(this, paramsArray[1], false) as NetOffice.OWC10Api.IOleUndoUnit;
            }
            else
            {
                rgElt = null;
            }
            pcEltFetched = (Int32)paramsArray[2];
            return(NetRuntimeSystem.Convert.ToInt32(returnItem));
        }
示例#2
0
 public virtual Int32 RedoTo(NetOffice.OWC10Api.IOleUndoUnit pUU)
 {
     return(InvokerService.InvokeInternal.ExecuteInt32MethodGet(this, "RedoTo", pUU));
 }
示例#3
0
 public virtual Int32 DiscardFrom(NetOffice.OWC10Api.IOleUndoUnit pUU)
 {
     return(InvokerService.InvokeInternal.ExecuteInt32MethodGet(this, "DiscardFrom", pUU));
 }