Class Constant

    • Constructor Detail

      • Constant

        public Constant​(com.jacob.com.Dispatch dispatch,
                        boolean useTimeout)
        Instantiates a new Constant.

        This constructor is used instead of a case operation to turn a Dispatch object into a wider object - it must exist in every wrapper class whose instances may be returned from method calls wrapped in VT_DISPATCH Variants.

        Parameters:
        dispatch - the dispatch
        useTimeout - specifies whether to apply timeout