IMapView<K, V> class
winrt
Interface
Represents an immutable view into a map.
- Inheritance
-
- Object
- IUnknown
- IInspectable
- IMapView
- Implemented types
-
- IIterable<
IKeyValuePair< K, V> >
- IIterable<
- Available extensions
Constructors
Properties
- 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
-
Gets the number of items in the map.
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
-
first(
) → IIterator< IKeyValuePair< K, V> > -
Returns an iterator for the items in the collection.
override
-
getIids(
Pointer< Uint32> iidCount, Pointer<Pointer< iids) → intGUID> > -
inherited
-
getRuntimeClassName(
Pointer< IntPtr> className) → int -
inherited
-
getTrustLevel(
Pointer< Int32> trustLevel) → int -
inherited
-
hasKey(
K value) → bool - Determines whether the map contains the specified key.
-
lookup(
K key) → V - Returns the item at the specified key in the map.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
queryInterface(
Pointer< GUID> riid, Pointer<Pointer< ppvObject) → intNativeType> > -
inherited
-
release(
) → int -
inherited
-
split(
IMapView< K, V> first, IMapView<K, V> second) → void - Splits the map view into two views.
-
toInterface(
String iid) → Pointer< COMObject> -
Cast an existing COM object to a specified interface.
inherited
-
toMap(
) → Map< K, V> - Creates an unmodifiable Map from the current IMapView instance.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited