W3cubDocs

/Kotlin

setValue

abstract operator fun setValue(
    thisRef: R, 
    property: KProperty<*>, 
    value: T)

Sets the value of the property for the given object.

Parameters

thisRef - the object for which the value is requested.

property - the metadata for the property.

value - the value to set.

© 2010–2018 JetBrains s.r.o.
Licensed under the Apache License, Version 2.0.
https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.properties/-read-write-property/set-value.html