KeyDictionary.Add Method (XmlQualifiedName, IList<Key>)KeyDictionary.Add Method (XmlQualifiedName, IList(Of Key))KeyDictionary::Add Method (XmlQualifiedName^, IList<Key^>^)

Adds a new key with the specified name.

Syntax

Public Sub Add( _
    name As System.Xml.XmlQualifiedName, _
    value As IList(Of Key) _
)
public void Add(
    System.Xml.XmlQualifiedName name,
    IList<Key> value
)
public:
virtual void Add(
    System.Xml::XmlQualifiedName^ name, 
    IList<Key^>^ value
) sealed
 

Exceptions

ExceptionCondition
ArgumentNullExceptionArgumentNullExceptionArgumentNullException name or value is null a null reference (Nothing in Visual Basic) nullptr.