IAttributeSet.GetAttributeBooleanValue メソッド

定義

オーバーロード

GetAttributeBooleanValue(Int32, Boolean)

'index' の属性のブール値を返します。

GetAttributeBooleanValue(String, String, Boolean)

'attribute' のブール値を返します。

GetAttributeBooleanValue(Int32, Boolean)

'index' の属性のブール値を返します。

[Android.Runtime.Register("getAttributeBooleanValue", "(IZ)Z", "GetGetAttributeBooleanValue_IZHandler:Android.Util.IAttributeSetInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public bool GetAttributeBooleanValue (int index, bool defaultValue);
[<Android.Runtime.Register("getAttributeBooleanValue", "(IZ)Z", "GetGetAttributeBooleanValue_IZHandler:Android.Util.IAttributeSetInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member GetAttributeBooleanValue : int * bool -> bool

パラメーター

index
Int32

目的の属性のインデックス 0...count-1。

defaultValue
Boolean

属性が見つからない場合に返す内容。

戻り値

結果の値。

属性

注釈

'index' の属性のブール値を返します。

android.util.AttributeSet.getAttributeBooleanValue(int, boolean)Java ドキュメント。

このページの一部は、によって作成および共有された作業に基づく変更であり、に記載されている条件に従って使用されます。

適用対象

GetAttributeBooleanValue(String, String, Boolean)

'attribute' のブール値を返します。

[Android.Runtime.Register("getAttributeBooleanValue", "(Ljava/lang/String;Ljava/lang/String;Z)Z", "GetGetAttributeBooleanValue_Ljava_lang_String_Ljava_lang_String_ZHandler:Android.Util.IAttributeSetInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public bool GetAttributeBooleanValue (string? namespace, string? attribute, bool defaultValue);
[<Android.Runtime.Register("getAttributeBooleanValue", "(Ljava/lang/String;Ljava/lang/String;Z)Z", "GetGetAttributeBooleanValue_Ljava_lang_String_Ljava_lang_String_ZHandler:Android.Util.IAttributeSetInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member GetAttributeBooleanValue : string * string * bool -> bool

パラメーター

namespace
String

取得する属性の名前空間。

attribute
String

取得する属性。

defaultValue
Boolean

属性が見つからない場合に返す内容。

戻り値

結果の値。

属性

注釈

'attribute' のブール値を返します。

android.util.AttributeSet.getAttributeBooleanValue(java.lang.String, java.lang.String, boolean)Java ドキュメント。

このページの一部は、によって作成および共有された作業に基づく変更であり、に記載されている条件に従って使用されます。

適用対象