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); }
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)); }
public NetOffice.VBIDEApi.VBComponent Add(NetOffice.VBIDEApi.Enums.vbext_ComponentType componentType) { return(Factory.ExecuteKnownReferenceMethodGet <NetOffice.VBIDEApi.VBComponent>(this, "Add", NetOffice.VBIDEApi.VBComponent.LateBindingApiWrapperType, componentType)); }