Ejemplo n.º 1
0
        public static NetOffice.DAOApi.Connection OpenConnection(string name)
        {
            object[] paramsArray = Invoker.ValidateParamsArray(name);
            object   returnItem  = Invoker.MethodReturn(_instance, "OpenConnection", paramsArray);

            NetOffice.DAOApi.Connection newObject = Factory.CreateKnownObjectFromComProxy(_instance, returnItem, NetOffice.DAOApi.Connection.LateBindingApiWrapperType) as NetOffice.DAOApi.Connection;
            return(newObject);
        }
Ejemplo n.º 2
0
        public NetOffice.DAOApi.Connection OpenConnection(string name, object options, object readOnly)
        {
            object[] paramsArray = Invoker.ValidateParamsArray(name, options, readOnly);
            object   returnItem  = Invoker.MethodReturn(this, "OpenConnection", paramsArray);

            NetOffice.DAOApi.Connection newObject = NetOffice.Factory.CreateKnownObjectFromComProxy(this, returnItem, NetOffice.DAOApi.Connection.LateBindingApiWrapperType) as NetOffice.DAOApi.Connection;
            return(newObject);
        }
Ejemplo n.º 3
0
        public static NetOffice.DAOApi.Connection OpenConnection(string name, object options, object readOnly)
        {
            object[] paramsArray = Invoker.ValidateParamsArray(name, options, readOnly);
            object   returnItem  = Invoker.MethodReturn(_instance, "OpenConnection", paramsArray);

            NetOffice.DAOApi.Connection newObject = Factory.CreateKnownObjectFromComProxy(_instance, returnItem, typeof(NetOffice.DAOApi.Connection)) as NetOffice.DAOApi.Connection;
            return(newObject);
        }
Ejemplo n.º 4
0
 public NetOffice.DAOApi.Connection this[object item]
 {
     get
     {
         object[] paramsArray = Invoker.ValidateParamsArray(item);
         object   returnItem  = Invoker.PropertyGet(this, "Item", paramsArray);
         NetOffice.DAOApi.Connection newObject = Factory.CreateKnownObjectFromComProxy(this, returnItem, NetOffice.DAOApi.Connection.LateBindingApiWrapperType) as NetOffice.DAOApi.Connection;
         return(newObject);
     }
 }