Share via


XmlDocument.Prefix Property

Definition

Gets or sets the namespace prefix.

public:
 property Platform::Object ^ Prefix { Platform::Object ^ get(); void set(Platform::Object ^ value); };
IInspectable Prefix();

void Prefix(IInspectable value);
public object Prefix { get; set; }
var object = xmlDocument.prefix;
xmlDocument.prefix = object;
Public Property Prefix As Object

Property Value

Object

Platform::Object

IInspectable

The namespace prefix specified on the element, attribute, or entity reference. For example, for the element <xxx:yyy>, this property returns xxx. It returns an empty string, "", if no prefix is specified.

Implements

Applies to