ParameterDictionary.Add Method (XmlQualifiedName, XPathItem[])ParameterDictionary.Add Method (XmlQualifiedName, XPathItem())ParameterDictionary::Add Method (XmlQualifiedName^, array
<XPathItem^>^)
Syntax
Public Sub Add( _ name As System.Xml.XmlQualifiedName, _ values As System.Xml.XPath.XPathItem[] _ )
public void Add( System.Xml.XmlQualifiedName name, System.Xml.XPath.XPathItem[] values )
public: void Add( System.Xml::XmlQualifiedName^ name, array<System.Xml.XPath::XPathItem^> values )
Parameters
- name
Type: System.Xml.XmlQualifiedNameSystem.Xml.XmlQualifiedNameSystem.Xml::XmlQualifiedName^
The name of the parameter to add.
- values
Type: System.Xml.XPath.XPathItem[]System.Xml.XPath.XPathItem()
array
<System.Xml.XPath::XPathItem^>^The items making up the value of the parameter to add.
Exceptions
Exception | Condition |
ArgumentNullExceptionArgumentNullExceptionArgumentNullException |
name or values is null
a null reference (Nothing in Visual Basic)
nullptr .
|
ArgumentExceptionArgumentExceptionArgumentException |
An entry in values is null
a null reference (Nothing in Visual Basic)
nullptr , or is not an instance of
XPathNavigatorXPathNavigatorXPathNavigator or XPathAtomicValueXPathAtomicValueXPathAtomicValue.
|