Skip navigation links
JNA API 4.5.1
com.sun.jna.platform.win32.COM

Interface IEnumVariant

  • All Superinterfaces:
    IUnknown
    All Known Implementing Classes:
    EnumVariant


    public interface IEnumVariant
    extends IUnknown
    Provides a method for enumerating a collection of variants, including heterogeneous collections of objects and intrinsic types. Callers of this interface do not need to know the specific type (or types) of the elements in the collection.
    • Method Detail

      • Clone

        IEnumVariant Clone()
        Creates a copy of the current state of enumeration.
        Returns:
        clone of the backing enumeration
      • Next

        Variant.VARIANT[] Next(int count)
        Retrieves the specified items in the enumeration sequence.

        Count is the upper limit and less values can be retrieved.

        Parameters:
        count - maximum number of elements to retrieve
        Returns:
        array of VARIANTs
      • Reset

        void Reset()
        Resets the enumeration sequence to the beginning.
      • Skip

        void Skip(int count)
        Attempts to skip over the next celt elements in the enumeration sequence.
        Parameters:
        count - elements to skip
JNA API 4.5.1

Copyright © 2007-2017 Timothy Wall. All Rights Reserved.