Update(string, XmlNameSpaceManager, string)
This method updates the XML nodes identified by the given XPath expression with the given string value and a .NET XmlNameSpaceManager object for namespace resolution.
Declaration
// C# public void Update(string xpathExpr, XmlNameSpaceManager nsMgr, string value);
Parameters
-
xpathExprThe XPath expression that identifies the nodes to update.
-
nsMgrThe .NET
XmlNameSpaceManagerobject used for namespace resolution of the XPath expression.nsMgrcan be null. -
valueThe new value as a
string.
Exceptions
ObjectDisposedException - The object is already disposed.
ArgumentNullException - The xpathExpr is null or zero-length.
InvalidOperationException - The OracleConnection is not open or has been closed during the lifetime of the object.
Remarks
The default namespace is ignored if its value is an empty string.