IXmlResourceParser.GetAttributeNamespace(Int32) 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.
Gets the namespace of the specified attribute.
[Android.Runtime.Register("getAttributeNamespace", "(I)Ljava/lang/String;", "GetGetAttributeNamespace_IHandler:Android.Content.Res.IXmlResourceParserInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=28)]
public string? GetAttributeNamespace(int index);
[<Android.Runtime.Register("getAttributeNamespace", "(I)Ljava/lang/String;", "GetGetAttributeNamespace_IHandler:Android.Content.Res.IXmlResourceParserInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=28)>]
abstract member GetAttributeNamespace : int -> string
Parameters
- index
- Int32
The zero-based index of the attribute.
Returns
The namespace URI of the specified attribute, or an empty string if it has no namespace.
Implements
- Attributes
Remarks
Returns the namespace URI of the attribute at the specified zero-based index.