Пример #1
0
        public NetOffice.PowerPointApi.NamedSlideShow Add(string name, object safeArrayOfSlideIDs)
        {
            object[] paramsArray = Invoker.ValidateParamsArray(name, safeArrayOfSlideIDs);
            object   returnItem  = Invoker.MethodReturn(this, "Add", paramsArray);

            NetOffice.PowerPointApi.NamedSlideShow newObject = Factory.CreateKnownObjectFromComProxy(this, returnItem, NetOffice.PowerPointApi.NamedSlideShow.LateBindingApiWrapperType) as NetOffice.PowerPointApi.NamedSlideShow;
            return(newObject);
        }
Пример #2
0
 public NetOffice.PowerPointApi.NamedSlideShow this[object index]
 {
     get
     {
         object[] paramsArray = Invoker.ValidateParamsArray(index);
         object   returnItem  = Invoker.MethodReturn(this, "Item", paramsArray);
         NetOffice.PowerPointApi.NamedSlideShow newObject = Factory.CreateKnownObjectFromComProxy(this, returnItem, NetOffice.PowerPointApi.NamedSlideShow.LateBindingApiWrapperType) as NetOffice.PowerPointApi.NamedSlideShow;
         return(newObject);
     }
 }