Taal

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

Applies to