Example #1
0
        public NetOffice.ADODBApi._Parameter CreateParameter()
        {
            object[] paramsArray = null;
            object   returnItem  = Invoker.MethodReturn(this, "CreateParameter", paramsArray);

            NetOffice.ADODBApi._Parameter newObject = Factory.CreateObjectFromComProxy(this, returnItem) as NetOffice.ADODBApi._Parameter;
            return(newObject);
        }
Example #2
0
        public NetOffice.ADODBApi._Parameter CreateParameter(object name, object type, object direction, object size)
        {
            object[] paramsArray = Invoker.ValidateParamsArray(name, type, direction, size);
            object   returnItem  = Invoker.MethodReturn(this, "CreateParameter", paramsArray);

            NetOffice.ADODBApi._Parameter newObject = Factory.CreateObjectFromComProxy(this, returnItem) as NetOffice.ADODBApi._Parameter;
            return(newObject);
        }
Example #3
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);
        }