Schnittstelle IEnumVariant

Alle Superschnittstellen:
IUnknown
Alle bekannten Implementierungsklassen:
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.
  • Feldübersicht

    Von Schnittstelle geerbte Felder com.sun.jna.platform.win32.COM.IUnknown

    IID_IUNKNOWN
  • Methodenübersicht

    Modifizierer und Typ
    Methode
    Beschreibung
    Creates a copy of the current state of enumeration.
    Next(int count)
    Retrieves the specified items in the enumeration sequence.
    void
    Resets the enumeration sequence to the beginning.
    void
    Skip(int count)
    Attempts to skip over the next celt elements in the enumeration sequence.

    Von Schnittstelle geerbte Methoden com.sun.jna.platform.win32.COM.IUnknown

    AddRef, QueryInterface, Release
  • Methodendetails

    • Clone

      IEnumVariant Clone()
      Creates a copy of the current state of enumeration.
      Gibt zurück:
      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.

      Parameter:
      count - maximum number of elements to retrieve
      Gibt zurück:
      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.
      Parameter:
      count - elements to skip