NamespaceSupport.PopContext Method

Definition

Revert to the previous Namespace context.

[Android.Runtime.Register("popContext", "()V", "GetPopContextHandler")]
public virtual void PopContext ();
[<Android.Runtime.Register("popContext", "()V", "GetPopContextHandler")>]
abstract member PopContext : unit -> unit
override this.PopContext : unit -> unit
Attributes

Remarks

Revert to the previous Namespace context.

Normally, you should pop the context at the end of each XML element. After popping the context, all Namespace prefix mappings that were previously in force are restored.

You must not attempt to declare additional Namespace prefixes after popping a context, unless you push another context first.

Java documentation for org.xml.sax.helpers.NamespaceSupport.popContext().

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

See also