IAttributeSet.GetAttributeIntValue メソッド

定義

オーバーロード

GetAttributeIntValue(Int32, Int32)

'index' の属性の整数値を返します。

GetAttributeIntValue(String, String, Int32)

'attribute' の整数値を返します。

GetAttributeIntValue(Int32, Int32)

'index' の属性の整数値を返します。

[Android.Runtime.Register("getAttributeIntValue", "(II)I", "GetGetAttributeIntValue_IIHandler:Android.Util.IAttributeSetInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public int GetAttributeIntValue (int index, int defaultValue);
[<Android.Runtime.Register("getAttributeIntValue", "(II)I", "GetGetAttributeIntValue_IIHandler:Android.Util.IAttributeSetInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member GetAttributeIntValue : int * int -> int

パラメーター

index
Int32

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

defaultValue
Int32

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

戻り値

結果の値。

属性

注釈

'index' の属性の整数値を返します。

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

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

適用対象

GetAttributeIntValue(String, String, Int32)

'attribute' の整数値を返します。

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

パラメーター

namespace
String

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

attribute
String

取得する属性。

defaultValue
Int32

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

戻り値

結果の値。

属性

注釈

'attribute' の整数値を返します。

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

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

適用対象