EnvSelectRange() приватный Метод

private EnvSelectRange ( IntPtr handle, String query, IntPtr begin, IntPtr end, IntPtr &result ) : int
handle System.IntPtr
query String
begin System.IntPtr
end System.IntPtr
result System.IntPtr
Результат int
Пример #1
0
        public Result SelectRange(String query, Cursor begin, Cursor end)
        {
            int    st;
            IntPtr result = new IntPtr(0);

            lock (this) {
                st = NativeMethods.EnvSelectRange(handle, query,
                                                  begin != null ? begin.GetHandle() : IntPtr.Zero,
                                                  end != null ? end.GetHandle() : IntPtr.Zero,
                                                  out result);
            }
            if (st != 0)
            {
                throw new DatabaseException(st);
            }

            return(new Result(result));
        }