# set

@Incubating
operator fun <K : Any, V : Any> MapProperty<K, V>.set(key: K, value: V)(source)

Adds a map entry to the property value.

#### Since

9.7.0

#### Parameters

key

the key

value

the value

#### See also

MapProperty.put

@Incubating
operator fun <K : Any, V : Any> MapProperty<K, V>.set(key: K, providerOfValue: Provider<out V>)(source)

Adds a map entry to the property value.

#### Since

9.7.0

#### Parameters

key

the key

providerOfValue

the provider of the value

#### See also

MapProperty.put