IAttributeSet.GetAttributeUnsignedIntValue Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
GetAttributeUnsignedIntValue(Int32, Int32) |
Return the integer value of attribute at 'index' that is formatted as an unsigned value. |
GetAttributeUnsignedIntValue(String, String, Int32) |
Return the boolean value of 'attribute' that is formatted as an unsigned value. |
GetAttributeUnsignedIntValue(Int32, Int32)
Return the integer value of attribute at 'index' that is formatted as an unsigned value.
[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
Parameters
- index
- Int32
Index of the desired attribute, 0...count-1.
- defaultValue
- Int32
What to return if the attribute isn't found.
Returns
Resulting value.
- Attributes
Remarks
Return the integer value of attribute at 'index' that is formatted as an unsigned value. In particular, the formats 0xn...n and #n...n are handled.
Java documentation for android.util.AttributeSet.getAttributeUnsignedIntValue(int, int)
.
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
GetAttributeUnsignedIntValue(String, String, Int32)
Return the boolean value of 'attribute' that is formatted as an unsigned value.
[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
Parameters
- namespace
- String
Namespace of attribute to retrieve.
- attribute
- String
The attribute to retrieve.
- defaultValue
- Int32
What to return if the attribute isn't found.
Returns
Resulting value.
- Attributes
Remarks
Return the boolean value of 'attribute' that is formatted as an unsigned value. In particular, the formats 0xn...n and #n...n are handled.
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.