Resources.GetAttributeSetSourceResId(IAttributeSet) 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.
Returns the resource ID of the resource that was used to create this AttributeSet.
[Android.Runtime.Register("getAttributeSetSourceResId", "(Landroid/util/AttributeSet;)I", "", ApiSince=29)]
public static int GetAttributeSetSourceResId (Android.Util.IAttributeSet? set);
[<Android.Runtime.Register("getAttributeSetSourceResId", "(Landroid/util/AttributeSet;)I", "", ApiSince=29)>]
static member GetAttributeSetSourceResId : Android.Util.IAttributeSet -> int
Parameters
- set
- IAttributeSet
AttributeSet for which we want to find the source.
Returns
The resource ID for the source that is backing the given AttributeSet or
Resources#ID_NULL
if the AttributeSet is null
.
- Attributes
Remarks
Returns the resource ID of the resource that was used to create this AttributeSet.
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.