QName.Prefix Property

Definition

Get the prefix of this QName.

public virtual string? Prefix { [Android.Runtime.Register("getPrefix", "()Ljava/lang/String;", "GetGetPrefixHandler")] get; }
[<get: Android.Runtime.Register("getPrefix", "()Ljava/lang/String;", "GetGetPrefixHandler")>]
member this.Prefix : string

Property Value

prefix of this QName

Attributes

Remarks

Get the prefix of this QName.

The prefix assigned to a QName might <strong><em>NOT</em></strong> be valid in a different context. For example, a QName may be assigned a prefix in the context of parsing a document but that prefix may be invalid in the context of a different document.

Java documentation for javax.xml.namespace.QName.getPrefix().

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