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

Syntax

[Android.Runtime.Register("getAttributeResourceValue", "(II)I", "GetGetAttributeResourceValue_IIHandler:Android.Util.IAttributeSetInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public int GetAttributeResourceValue (int index, int defaultValue)

Parameters

index
Index of the desired attribute, 0...count-1.
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 at 'index' 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