set_Prefix()
Contents
[
Hide
]XmlNode::set_Prefix(String) method
Sets the namespace prefix of this node.
virtual void System::Xml::XmlNode::set_Prefix(String value)
Arguments
| Parameter | Type | Description |
|---|---|---|
| value | String | The value to set. |
Exceptions
| Exception | Description |
|---|---|
| ArgumentException | This node is read-only. |
| XmlException | The specified prefix contains an invalid character. The specified prefix is malformed. The specified prefix is “xml” and the namespaceURI of this node is different from “http://www.w3.org/XML/1998/namespace". This node is an attribute and the specified prefix is “xmlns” and the namespaceURI of this node is different from “http://www.w3.org/2000/xmlns/ “. This node is an attribute and the qualifiedName of this node is “xmlns”. |
See Also
- Class String
- Class XmlNode
- Namespace System::Xml
- Library Aspose.Slides