PropertySet class winrt Class

Represents a property set, which is a set of PropertyValue objects with string keys.

Inheritance
Implemented types
Available Extensions

Constructors

PropertySet({Allocator allocator = calloc})
PropertySet.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
override
addRef() int
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
inherited
release() int
inherited
remove(String key) → void
Removes an item from the map.
override
remove_MapChanged(int token) → void
override
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