NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

XmlNode.Prefix

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);

Property Value

The namespace prefix of this node. If there is no prefix, this property is null.

Exceptions

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

See Also

XmlNode Class | XmlNode Members | System.NewXml Namespace