ParameterDictionary.Add Method (XmlQualifiedName, XPathItem)ParameterDictionary.Add Method (XmlQualifiedName, XPathItem)ParameterDictionary::Add Method (XmlQualifiedName^, XPathItem^)
Syntax
Public Sub Add( _ name As System.Xml.XmlQualifiedName, _ value As System.Xml.XPath.XPathItem _ )
public void Add( System.Xml.XmlQualifiedName name, System.Xml.XPath.XPathItem value )
public: void Add( System.Xml::XmlQualifiedName^ name, System.Xml.XPath::XPathItem^ value )
Parameters
- name
Type: System.Xml.XmlQualifiedNameSystem.Xml.XmlQualifiedNameSystem.Xml::XmlQualifiedName^
The name of the parameter to add.
- value
Type: System.Xml.XPath.XPathItemSystem.Xml.XPath.XPathItemSystem.Xml.XPath::XPathItem^
The value of the parameter to add.
Exceptions
| Exception | Condition |
| 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. |
