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

Adds a parameter with the specified name.

Syntax

Public Sub Add( _
    key As System.Xml.XmlQualifiedName, _
    value As IEnumerable(Of XPathFunctionItem) _
)
 

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