Ejemplo n.º 1
0
        public NetOffice.VBIDEApi.Component Add(NetOffice.VBIDEApi.Enums.vbext_ComponentType componentType)
        {
            object[] paramsArray = Invoker.ValidateParamsArray(componentType);
            object   returnItem  = Invoker.MethodReturn(this, "Add", paramsArray);

            NetOffice.VBIDEApi.Component newObject = NetOffice.Factory.CreateKnownObjectFromComProxy(this, returnItem, NetOffice.VBIDEApi.Component.LateBindingApiWrapperType) as NetOffice.VBIDEApi.Component;
            return(newObject);
        }
Ejemplo n.º 2
0
 public virtual NetOffice.VBIDEApi.VBComponent Add(NetOffice.VBIDEApi.Enums.vbext_ComponentType componentType)
 {
     return(InvokerService.InvokeInternal.ExecuteKnownReferenceMethodGet <NetOffice.VBIDEApi.VBComponent>(this, "Add", typeof(NetOffice.VBIDEApi.VBComponent), componentType));
 }
Ejemplo n.º 3
0
 public NetOffice.VBIDEApi.VBComponent Add(NetOffice.VBIDEApi.Enums.vbext_ComponentType componentType)
 {
     return(Factory.ExecuteKnownReferenceMethodGet <NetOffice.VBIDEApi.VBComponent>(this, "Add", NetOffice.VBIDEApi.VBComponent.LateBindingApiWrapperType, componentType));
 }