IVectorView<T> class
winrt
Interface
Represents an immutable view into a vector.
- Inheritance
-
- Object
- IUnknown
- IInspectable
- IVectorView
- Implemented types
-
- IIterable<
T>
- IIterable<
- Available extensions
Constructors
-
IVectorView.fromRawPointer(Pointer<
COMObject> ptr, {required String iterableIid, T creator(Pointer<COMObject> )?, T enumCreator(int)?, Type? intType}) -
Creates an instance of IVectorView using the given
ptr
anditerableIid
.
Properties
Methods
-
addRef(
) → int -
Increments the reference count for an interface pointer to a COM object.
inherited
-
first(
) → IIterator< T> -
Returns an iterator for the items in the collection.
override
-
getAt(
int index) → T - Returns the item at the specified index in the vector view.
-
getIids(
Pointer< Uint32> iidCount, Pointer<Pointer< iids) → intGUID> > -
inherited
-
getMany(
int startIndex, int capacity, Pointer< NativeType> value) → int - Retrieves multiple items from the vector view beginning at the given index.
-
getRuntimeClassName(
Pointer< IntPtr> className) → int -
inherited
-
getTrustLevel(
Pointer< Int32> trustLevel) → int -
inherited
-
indexOf(
T value, Pointer< Uint32> index) → bool - Retrieves the index of a specified item in the vector view.
-
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
-
toList(
) → List< T> - Creates an unmodifiable List from the current IVectorView instance.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited