IAttributeSet.GetAttributeListValue メソッド

定義

オーバーロード

GetAttributeListValue(Int32, String[], Int32)

リスト 'options' の 'index' にある属性の値のインデックスを返します。

GetAttributeListValue(String, String, String[], Int32)

リスト 'options' の 'attribute' の値のインデックスを返します。

GetAttributeListValue(Int32, String[], Int32)

リスト 'options' の 'index' にある属性の値のインデックスを返します。

[Android.Runtime.Register("getAttributeListValue", "(I[Ljava/lang/String;I)I", "GetGetAttributeListValue_IarrayLjava_lang_String_IHandler:Android.Util.IAttributeSetInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public int GetAttributeListValue (int index, string[]? options, int defaultValue);
[<Android.Runtime.Register("getAttributeListValue", "(I[Ljava/lang/String;I)I", "GetGetAttributeListValue_IarrayLjava_lang_String_IHandler:Android.Util.IAttributeSetInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member GetAttributeListValue : int * string[] * int -> int

パラメーター

index
Int32

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

options
String[]

チェック対象の値を持つ文字列の一覧。

defaultValue
Int32

属性が存在しない場合、または一致するものが見つからない場合に返される値。

戻り値

'options' または defaultValue にインデックスを作成します。

属性

注釈

リスト 'options' の 'index' にある属性の値のインデックスを返します。

の Java ドキュメント android.util.AttributeSet.getAttributeListValue(int, java.lang.String[], int)

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

適用対象

GetAttributeListValue(String, String, String[], Int32)

リスト 'options' の 'attribute' の値のインデックスを返します。

[Android.Runtime.Register("getAttributeListValue", "(Ljava/lang/String;Ljava/lang/String;[Ljava/lang/String;I)I", "GetGetAttributeListValue_Ljava_lang_String_Ljava_lang_String_arrayLjava_lang_String_IHandler:Android.Util.IAttributeSetInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public int GetAttributeListValue (string? namespace, string? attribute, string[]? options, int defaultValue);
[<Android.Runtime.Register("getAttributeListValue", "(Ljava/lang/String;Ljava/lang/String;[Ljava/lang/String;I)I", "GetGetAttributeListValue_Ljava_lang_String_Ljava_lang_String_arrayLjava_lang_String_IHandler:Android.Util.IAttributeSetInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member GetAttributeListValue : string * string * string[] * int -> int

パラメーター

namespace
String

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

attribute
String

取得する属性の名前。

options
String[]

チェック対象の値を持つ文字列の一覧。

defaultValue
Int32

属性が存在しない場合、または一致するものが見つからない場合に返される値。

戻り値

'options' または defaultValue にインデックスを作成します。

属性

注釈

リスト 'options' の 'attribute' の値のインデックスを返します。

の Java ドキュメント android.util.AttributeSet.getAttributeListValue(java.lang.String, java.lang.String, java.lang.String[], int)

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

適用対象