IVector<T> class winrt Interface

Inheritance
Available extensions

Constructors

IVector(Pointer<COMObject> ptr, {T creator(Pointer<COMObject>)?, Allocator allocator = calloc})
Creates an instance of IVector<T> using the given ptr.

Properties

allocator Allocator
final
creator ↔ T Function(Pointer<COMObject>)?
getter/setter pair
GetView List<T>
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
Size int
no setter
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
Append(T value) → void
Clear() → void
GetAt(int index) → T
GetIids(Pointer<Uint32> iidCount, Pointer<Pointer<GUID>> iids) int
inherited
GetMany(int startIndex, Pointer<NativeType> items) int
GetRuntimeClassName(Pointer<IntPtr> className) int
inherited
GetTrustLevel(Pointer<Int32> trustLevel) int
inherited
IndexOf(T value, Pointer<Uint32> index) bool
InsertAt(int index, T value) → void
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
RemoveAt(int index) → void
RemoveAtEnd() → void
ReplaceAll(List<T> items) → void
SetAt(int index, T value) → void
toInterface(String iid) Pointer<COMObject>
Cast an existing COM object to a specified interface.
inherited
toList() List<T>
Creates a List<T> from the IVector<T>.
toString() String
A string representation of this object.
inherited

Operators

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