public class EnumVariant extends Unknown implements IEnumVariant
Unknown.ByReference
Modifier and Type | Field and Description |
---|---|
static Guid.IID |
IID |
static Guid.REFIID |
REFIID |
IID_IUNKNOWN
Constructor and Description |
---|
EnumVariant() |
EnumVariant(Pointer p) |
Modifier and Type | Method and Description |
---|---|
EnumVariant |
Clone()
Creates a copy of the current state of enumeration.
|
Variant.VARIANT[] |
Next(int count)
Retrieves the specified items in the enumeration sequence.
|
void |
Reset()
Resets the enumeration sequence to the beginning.
|
void |
Skip(int count)
Attempts to skip over the next celt elements in the enumeration sequence.
|
AddRef, QueryInterface, Release
_invokeNativeInt, _invokeNativeObject, _invokeNativeVoid
equals, fromNative, getPointer, hashCode, nativeType, setPointer, toNative, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
AddRef, QueryInterface, Release
public static final Guid.IID IID
public static final Guid.REFIID REFIID
public EnumVariant()
public EnumVariant(Pointer p)
public Variant.VARIANT[] Next(int count)
IEnumVariant
Count is the upper limit and less values can be retrieved.
Next
in interface IEnumVariant
count
- maximum number of elements to retrievepublic void Skip(int count)
IEnumVariant
Skip
in interface IEnumVariant
count
- elements to skippublic void Reset()
IEnumVariant
Reset
in interface IEnumVariant
public EnumVariant Clone()
IEnumVariant
Clone
in interface IEnumVariant