Gets or sets the namespace prefix of this node.
[Visual Basic] Overridable Public Property Prefix As String [C#] public string Prefix {virtual get; virtual set;} [C++] public: __property virtual String* get_Prefix(); public: __property virtual void set_Prefix(String*); [JScript] public function get Prefix() : String; public function set Prefix(String);
The namespace prefix of this node. If there is no prefix, this property is null.
Exception Type | Condition |
---|---|
INVALID_CHARACTER_ERR | The specified prefix contains an illegal character |
NO_MODIFICATION_ALLOWED_ERR | This node is readonly |
NAMESPACE_ERR | The specified prefix is malformed.
The namespaceURI of this node is null. The specified prefix is "xml" and the namespaceURI of this node is different from |