StringMap class winrt Class

An associative collection, also known as a map or a dictionary.

Inheritance
Implemented types
Available Extensions

Constructors

StringMap({Allocator allocator = calloc})
StringMap.fromRawPointer(Pointer<COMObject> ptr)

Properties

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
size int
Gets the number of items in the map.
no setteroverride

Methods

add_MapChanged(Pointer<NativeFunction<MapChangedEventHandler>> vhnd) int
addRef() int
inherited
clear() → void
Removes all items from the map.
override
first() IIterator<IKeyValuePair<String, String>>
Returns an iterator for the items in the collection.
override
getIids(Pointer<Uint32> iidCount, Pointer<Pointer<GUID>> iids) int
inherited
getRuntimeClassName(Pointer<IntPtr> className) int
inherited
getTrustLevel(Pointer<Int32> trustLevel) int
inherited
getView() Map<String, String>
Returns an immutable view of the map.
override
hasKey(String key) bool
Determines whether the map contains the specified key.
override
insert(String key, String value) bool
Inserts or replaces an item in the map.
override
lookup(String key) String
Returns the item at the specified key in the map.
override
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
remove(String key) → void
Removes an item from the map.
override
remove_MapChanged(int token) → void
toInterface(String iid) Pointer<COMObject>
Cast an existing COM object to a specified interface.
inherited
toMap() Map<String, String>
Creates an unmodifiable Map from the current IMap instance.
override
toString() String
A string representation of this object.
inherited

Operators

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