SetTypedValue()

XPathNavigator::SetTypedValue(SharedPtr<Object>) method

Sets the typed value of the current node.

virtual void System::Xml::XPath::XPathNavigator::SetTypedValue(SharedPtr<Object> typedValue)

Arguments

ParameterTypeDescription
typedValueSharedPtr<Object>The new typed value of the node.

Exceptions

ExceptionDescription
ArgumentExceptionThe XPathNavigator does not support the type of the object specified.
ArgumentNullExceptionThe value specified cannot be nullptr.
InvalidOperationExceptionThe XPathNavigator is not positioned on an element or attribute node.
NotSupportedExceptionThe XPathNavigator does not support editing.

See Also