Пример #1
0
        public NetOffice.ADODBApi._Parameter_Deprecated CreateParameter(string name, NetOffice.ADODBApi.Enums.DataTypeEnum type, NetOffice.ADODBApi.Enums.ParameterDirectionEnum direction, Int32 size)
        {
            object[] paramsArray = Invoker.ValidateParamsArray(name, type, direction, size);
            object   returnItem  = Invoker.MethodReturn(this, "CreateParameter", paramsArray);

            NetOffice.ADODBApi._Parameter_Deprecated newObject = NetOffice.Factory.CreateKnownObjectFromComProxy(this, returnItem, NetOffice.ADODBApi._Parameter_Deprecated.LateBindingApiWrapperType) as NetOffice.ADODBApi._Parameter_Deprecated;
            return(newObject);
        }
Пример #2
0
        public NetOffice.ADODBApi._Parameter CreateParameter(string name, NetOffice.ADODBApi.Enums.DataTypeEnum type, NetOffice.ADODBApi.Enums.ParameterDirectionEnum direction, Int32 size)
        {
            object[] paramsArray = Invoker.ValidateParamsArray(name, type, direction, size);
            object   returnItem  = Invoker.MethodReturn(this, "CreateParameter", paramsArray);

            NetOffice.ADODBApi._Parameter newObject = NetOffice.Factory.CreateObjectFromComProxy(this, returnItem) as NetOffice.ADODBApi._Parameter;
            return(newObject);
        }