ParameterDictionary.Add Method (XmlQualifiedName, IEnumerable<XPathItem>)ParameterDictionary.Add Method (XmlQualifiedName, IEnumerable(Of XPathItem))ParameterDictionary::Add Method (XmlQualifiedName^, IEnumerable<XPathItem^>^)

Adds a parameter with the specified name.

Syntax

Public Sub Add( _
    key As System.Xml.XmlQualifiedName, _
    value As IEnumerable(Of System.Xml.XPath.XPathItem) _
)
public:
virtual void Add(
    System.Xml::XmlQualifiedName^ key, 
    IEnumerable<System.Xml.XPath::XPathItem^>^ value
) sealed
 

Exceptions

ExceptionCondition
ArgumentNullExceptionArgumentNullExceptionArgumentNullException key or value is null a null reference (Nothing in Visual Basic) nullptr.
ArgumentExceptionArgumentExceptionArgumentException An parameter with the same name already exists in the ParameterDictionaryParameterDictionaryParameterDictionary, or an entry in value is null a null reference (Nothing in Visual Basic) nullptr