CreateAttribute()
Contents
[
Hide
]XPathNavigator::CreateAttribute(String, String, String, String) method
Creates an attribute node on the current element node using the namespace prefix, local name and namespace URI specified with the value specified.
virtual void System::Xml::XPath::XPathNavigator::CreateAttribute(String prefix, String localName, String namespaceURI, String value)
Arguments
Parameter | Type | Description |
---|---|---|
prefix | String | The namespace prefix of the new attribute node (if any). |
localName | String | The local name of the new attribute node which cannot String::Empty or nullptr. |
namespaceURI | String | The namespace URI for the new attribute node (if any). |
value | String | The value of the new attribute node. If String::Empty or nullptr are passed, an empty attribute node is created. |
See Also
- Class String
- Class XPathNavigator
- Namespace System::Xml::XPath
- Library Aspose.Slides