다음을 통해 공유


Property.Set(Object, Object) Method

Definition

Sets the value on object which this property represents.

[Android.Runtime.Register("set", "(Ljava/lang/Object;Ljava/lang/Object;)V", "GetSet_Ljava_lang_Object_Ljava_lang_Object_Handler")]
public virtual void Set (Java.Lang.Object? object, Java.Lang.Object? value);
[<Android.Runtime.Register("set", "(Ljava/lang/Object;Ljava/lang/Object;)V", "GetSet_Ljava_lang_Object_Ljava_lang_Object_Handler")>]
abstract member Set : Java.Lang.Object * Java.Lang.Object -> unit
override this.Set : Java.Lang.Object * Java.Lang.Object -> unit

Parameters

object
Object
value
Object
Attributes

Remarks

Sets the value on object which this property represents. If the method is unable to set the value on the target object it will throw an UnsupportedOperationException exception.

Java documentation for android.util.Property.set(T, V).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to