Android.Util.IAttributeSet.GetAttributeResourceValue Method
Return the value of 'attribute' as a resource identifier.

Syntax

[Android.Runtime.Register("getAttributeResourceValue", "(Ljava/lang/String;Ljava/lang/String;I)I", "GetGetAttributeResourceValue_Ljava_lang_String_Ljava_lang_String_IHandler:Android.Util.IAttributeSetInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public int GetAttributeResourceValue (string namespace, string attribute, int defaultValue)

Parameters

namespace
Namespace of attribute to retrieve.
attribute
The attribute to retrieve.
defaultValue
What to return if the attribute isn't found.

Returns

Documentation for this section has not yet been entered.

Remarks

Return the value of 'attribute' as a resource identifier.

Note that this is different than IAttributeSet.GetAttributeNameResource(int) in that it returns the value contained in this attribute as a resource identifier (i.e., a value originally of the form "@package:type/resource"); the other method returns a resource identifier that identifies the name of the attribute.

[Android Documentation]

Requirements

Namespace: Android.Util
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1