Udostępnij za pośrednictwem


IPropertyReader.ReadObject(Int32, Object) Method

Definition

Read any object as a property.

[Android.Runtime.Register("readObject", "(ILjava/lang/Object;)V", "GetReadObject_ILjava_lang_Object_Handler:Android.Views.Inspectors.IPropertyReaderInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=29)]
public void ReadObject (int id, Java.Lang.Object? value);
[<Android.Runtime.Register("readObject", "(ILjava/lang/Object;)V", "GetReadObject_ILjava_lang_Object_Handler:Android.Views.Inspectors.IPropertyReaderInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=29)>]
abstract member ReadObject : int * Java.Lang.Object -> unit

Parameters

id
Int32

Identifier of the property from a PropertyMapper

value
Object

Value of the property

Attributes

Remarks

Read any object as a property.

If value is null, the property is marked as empty.

Java documentation for android.view.inspector.PropertyReader.readObject(int, java.lang.Object).

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