Class EnumVariant

All Implemented Interfaces:
NativeMapped, IEnumVariant, IUnknown

public class EnumVariant extends Unknown implements IEnumVariant
  • Field Details

  • Constructor Details

    • EnumVariant

      public EnumVariant()
    • EnumVariant

      public EnumVariant(Pointer p)
  • Method Details

    • Next

      public Variant.VARIANT[] Next(int count)
      Description copied from interface: IEnumVariant
      Retrieves the specified items in the enumeration sequence.

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

      Specified by:
      Next in interface IEnumVariant
      Parameters:
      count - maximum number of elements to retrieve
      Returns:
      array of VARIANTs
    • Skip

      public void Skip(int count)
      Description copied from interface: IEnumVariant
      Attempts to skip over the next celt elements in the enumeration sequence.
      Specified by:
      Skip in interface IEnumVariant
      Parameters:
      count - elements to skip
    • Reset

      public void Reset()
      Description copied from interface: IEnumVariant
      Resets the enumeration sequence to the beginning.
      Specified by:
      Reset in interface IEnumVariant
    • Clone

      public EnumVariant Clone()
      Description copied from interface: IEnumVariant
      Creates a copy of the current state of enumeration.
      Specified by:
      Clone in interface IEnumVariant
      Returns:
      clone of the backing enumeration