public void EndConnect(out NetOffice.WordApi.Shape connectedShape, Int32 connectionSite) { ParameterModifier[] modifiers = Invoker.CreateParamModifiers(true, false); connectedShape = null; object[] paramsArray = Invoker.ValidateParamsArray(connectedShape, connectionSite); Invoker.Method(this, "EndConnect", paramsArray, modifiers); connectedShape = (NetOffice.WordApi.Shape)paramsArray[0]; }
public NetOffice.WordApi.Shape ConvertToShape() { object[] paramsArray = null; object returnItem = Invoker.MethodReturn(this, "ConvertToShape", paramsArray); NetOffice.WordApi.Shape newObject = NetOffice.Factory.CreateKnownObjectFromComProxy(this, returnItem, NetOffice.WordApi.Shape.LateBindingApiWrapperType) as NetOffice.WordApi.Shape; return(newObject); }
public void EndConnect(out NetOffice.WordApi.Shape connectedShape, Int32 connectionSite) { ParameterModifier[] modifiers = Invoker.CreateParamModifiers(true, false); connectedShape = null; object[] paramsArray = Invoker.ValidateParamsArray(connectedShape, connectionSite); Invoker.Method(this, "EndConnect", paramsArray, modifiers); if (paramsArray[0] is MarshalByRefObject) { connectedShape = new NetOffice.WordApi.Shape(this, paramsArray[0]); } else { connectedShape = null; } }