ParameterDictionary.Add Method (XmlQualifiedName, XPathNavigator[])ParameterDictionary.Add Method (XmlQualifiedName, XPathNavigator())ParameterDictionary::Add Method (XmlQualifiedName^, array<XPathNavigator^>^)

Adds a new parameter from a sequence of XPathNavigatorXPathNavigatorXPathNavigator values.

Syntax

Public Sub Add( _
    name As System.Xml.XmlQualifiedName, _
    values As System.Xml.XPath.XPathNavigator[] _
)
public:
void Add(
    System.Xml::XmlQualifiedName^ name, 
    array<System.Xml.XPath::XPathNavigator^> values
)
 

Parameters

name

Type: System.Xml.XmlQualifiedNameSystem.Xml.XmlQualifiedNameSystem.Xml::XmlQualifiedName^

The name of the parameter to add.

values

Type: System.Xml.XPath.XPathNavigator[]System.Xml.XPath.XPathNavigator()array<System.Xml.XPath::XPathNavigator^>^

The items making up the value of the parameter to add.

Exceptions

ExceptionCondition
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.