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
iids List<String>

Available on IInspectable, provided by the IInspectableExtension extension

Returns the interface IIDs that are implemented by the current Windows Runtime class.
no setter
ptr Pointer<COMObject>
getter/setter pairinherited
runtimeClassName String

Available on IInspectable, provided by the IInspectableExtension extension

Gets the fully qualified name of the current Windows Runtime object.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
trustLevel TrustLevel

Available on IInspectable, provided by the IInspectableExtension extension

Gets the trust level of the current Windows Runtime object.
no setter

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