Language

XmlReaderPullParser.GetNamespace(String) Method

Definition

Looks up the namespace URI associated with a prefix.

public string? GetNamespace(string? prefix);
abstract member GetNamespace : string -> string
override this.GetNamespace : string -> string

Parameters

prefix
String

The prefix to look up, or null.

Returns

The reader's lookup result. In .NET for Android 11, a null prefix returns null without consulting the reader. In .NET for Android 8 through 10, a null prefix is passed to the reader.

Implements

Remarks

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.

Applies to