IPropertySet class winrt Interface

Represents a collection of key-value pairs, correlating several other collection interfaces.

Inheritance
Implemented types
Implementers
Available extensions

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
Increments the reference count for an interface pointer to a COM object.
inherited
clear() → void
Removes all items from the map.
override
first() IIterator<IKeyValuePair<String, Object?>>
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, Object?>
Returns an immutable view of the map.
override
hasKey(String key) bool
Determines whether the map contains the specified key.
override
insert(String key, Object? value) bool
Inserts or replaces an item in the map.
override
lookup(String key) Object?
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
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
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, Object?>
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