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 void Add( System.Xml.XmlQualifiedName key, IEnumerable<System.Xml.XPath.XPathItem> value )
public: virtual void Add( System.Xml::XmlQualifiedName^ key, IEnumerable<System.Xml.XPath::XPathItem^>^ value ) sealed
Parameters
- key
Type: System.Xml.XmlQualifiedNameSystem.Xml.XmlQualifiedNameSystem.Xml::XmlQualifiedName^
The name of the parameter.
- value
Type: System.Collections.Generic.IEnumerable<T>System.Collections.Generic.IEnumerable(Of T)System.Collections.Generic::IEnumerable<T>^
The value of the parameter to add.
Exceptions
Exception | Condition |
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
|