ParameterDictionary.Add Method (XmlQualifiedName, XPathItem)ParameterDictionary.Add Method (XmlQualifiedName, XPathItem)ParameterDictionary::Add Method (XmlQualifiedName^, XPathItem^)

Adds a new parameter from an XPathItemXPathItemXPathItem value.

Syntax

Public Sub Add( _
    name As System.Xml.XmlQualifiedName, _
    value As System.Xml.XPath.XPathItem _
)
 

Exceptions

ExceptionCondition
ArgumentNullExceptionArgumentNullExceptionArgumentNullException name or value is null a null reference (Nothing in Visual Basic) nullptr.
ArgumentExceptionArgumentExceptionArgumentException value is not an XPathNavigatorXPathNavigatorXPathNavigator or XPathAtomicValueXPathAtomicValueXPathAtomicValue instance, or a parameter with name name already exists.