語言

IAttributeSet.GetAttributeUnsignedIntValue 方法

定義

多載

名稱 Description
GetAttributeUnsignedIntValue(Int32, Int32)

回傳 'index' 處的整數值,該值格式為無符號值。

GetAttributeUnsignedIntValue(String, String, Int32)

回傳格式為無符號值的布林值「attribute」。

GetAttributeUnsignedIntValue(Int32, Int32)

回傳 'index' 處的整數值,該值格式為無符號值。

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

參數

index
Int32

目標屬性的索引,0...count-1。

defaultValue
Int32

如果找不到該屬性該回傳什麼。

傳回

結果價值。

屬性

備註

回傳 'index' 處的整數值,該值格式為無符號值。 特別是格式 0xn...N 和 #n......n 已經處理好了。

Java 文件 android.util.AttributeSet.getAttributeUnsignedIntValue(int, int)。

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於

GetAttributeUnsignedIntValue(String, String, Int32)

回傳格式為無符號值的布林值「attribute」。

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

參數

namespace
String

要取回屬性的命名空間。

attribute
String

要取回的屬性。

defaultValue
Int32

如果找不到該屬性該回傳什麼。

傳回

結果價值。

屬性

備註

回傳格式為無符號值的布林值「attribute」。 特別是格式 0xn...N 和 #n......n 已經處理好了。

Java 文件 android.util.AttributeSet.getAttributeUnsignedIntValue(java.lang.String, java.lang.String, int)。

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於