CreateAttributes()

XPathNavigator::CreateAttributes() method

Returns an XmlWriter object used to create new attributes on the current element.

virtual SharedPtr<XmlWriter> System::Xml::XPath::XPathNavigator::CreateAttributes()

Return Value

An XmlWriter object used to create new attributes on the current element.

Exceptions

ExceptionDescription
InvalidOperationExceptionThe XPathNavigator is not positioned on an element node.
NotSupportedExceptionThe XPathNavigator does not support editing.

See Also