共用方式為


IPropertyReader.ReadBoolean(Int32, Boolean) Method

Definition

Read a primitive boolean property.

[Android.Runtime.Register("readBoolean", "(IZ)V", "GetReadBoolean_IZHandler:Android.Views.Inspectors.IPropertyReaderInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=29)]
public void ReadBoolean (int id, bool value);
[<Android.Runtime.Register("readBoolean", "(IZ)V", "GetReadBoolean_IZHandler:Android.Views.Inspectors.IPropertyReaderInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=29)>]
abstract member ReadBoolean : int * bool -> unit

Parameters

id
Int32

Identifier of the property from a PropertyMapper

value
Boolean

Value of the property

Attributes

Remarks

Read a primitive boolean property.

Java documentation for android.view.inspector.PropertyReader.readBoolean(int, boolean).

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