Example #1
0
        public NetOffice.MSProjectApi.ViewSingle Add(string name, NetOffice.MSProjectApi.Enums.PjViewScreen screen, bool showInMenu, object table, object filter, object group, bool highlightFilt)
        {
            object[] paramsArray = Invoker.ValidateParamsArray(name, screen, showInMenu, table, filter, group, highlightFilt);
            object   returnItem  = Invoker.MethodReturn(this, "Add", paramsArray);

            NetOffice.MSProjectApi.ViewSingle newObject = NetOffice.Factory.CreateKnownObjectFromComProxy(this, returnItem, NetOffice.MSProjectApi.ViewSingle.LateBindingApiWrapperType) as NetOffice.MSProjectApi.ViewSingle;
            return(newObject);
        }
Example #2
0
        public NetOffice.MSProjectApi.ViewSingle Add(string name, NetOffice.MSProjectApi.Enums.PjViewScreen screen)
        {
            object[] paramsArray = Invoker.ValidateParamsArray(name, screen);
            object   returnItem  = Invoker.MethodReturn(this, "Add", paramsArray);

            NetOffice.MSProjectApi.ViewSingle newObject = NetOffice.Factory.CreateKnownObjectFromComProxy(this, returnItem, NetOffice.MSProjectApi.ViewSingle.LateBindingApiWrapperType) as NetOffice.MSProjectApi.ViewSingle;
            return(newObject);
        }