IIterator<T> class
winrt
Interface
Supports simple iteration over a collection.
- Inheritance
-
- Object
- IUnknown
- IInspectable
- IIterator
- Available extensions
Constructors
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 -
Increments the reference count for an interface pointer to a COM object.
inherited
-
getIids(
Pointer< Uint32> iidCount, Pointer<Pointer< iids) → intGUID> > -
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< ppvObject) → intNativeType> > -
Queries a COM object for a pointer to one of its interface; identifying
the interface by a reference to its interface identifier (IID).
inherited
-
release(
) → int -
Decrements the reference count for an interface on a COM object.
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