IIterator<T> class winrt Interface

Supports simple iteration over a collection.

Inheritance
Available Extensions

Constructors

IIterator.fromRawPointer(Pointer<COMObject> ptr, {T creator(Pointer<COMObject>)?, T enumCreator(int)?, Type? intType})
Creates an instance of IIterator using the given ptr.

Properties

current → T
Gets the current item in the collection.
no setter
hasCurrent bool
Gets a value that indicates whether the iterator refers to a current item or is at the end of the collection.
no setter
hashCode int
The hash code for this object.
no setterinherited
ptr Pointer<COMObject>
getter/setter pairinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

addRef() int
inherited
getIids(Pointer<Uint32> iidCount, Pointer<Pointer<GUID>> iids) int
inherited
getMany(int capacity, Pointer<NativeType> value) int
Retrieves multiple items from the iterator.
getRuntimeClassName(Pointer<IntPtr> className) int
inherited
getTrustLevel(Pointer<Int32> trustLevel) int
inherited
moveNext() bool
Advances the iterator to the next item in the collection.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
queryInterface(Pointer<GUID> riid, Pointer<Pointer<NativeType>> ppvObject) int
inherited
release() int
inherited
toInterface(String iid) Pointer<COMObject>
Cast an existing COM object to a specified interface.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited