Android Guides | Samples

Android.Content.Res.Resources.ParseBundleExtra Method

Parse a name/value pair out of an XML tag holding that data.

Syntax

[Android.Runtime.Register("parseBundleExtra", "(Ljava/lang/String;Landroid/util/AttributeSet;Landroid/os/Bundle;)V", "GetParseBundleExtra_Ljava_lang_String_Landroid_util_AttributeSet_Landroid_os_Bundle_Handler")]
public virtual Void ParseBundleExtra (String tagName, IAttributeSet attrs, Bundle outBundle)

Parameters

tagName
The name of the tag these attributes come from; this is only used for reporting error messages.
attrs
The attributes from which to retrieve the name/value pair.
outBundle
The Bundle in which to place the parsed value.

Exceptions

TypeReason
XmlPullParserExceptionIf the attributes are not valid.

Remarks

Requirements

Namespace: Android.Content.Res
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 3