KeyDictionary.Item PropertyKeyDictionary.Item PropertyKeyDictionary::Item Property

Gets or sets the key with the specified name.

Syntax

Public Property Item As IList(Of Key) (    name As System.Xml.XmlQualifiedName _
)
        Get
        Set(ByVal value As IList(Of Key))
public IList<Key>  this [    System.Xml.XmlQualifiedName name
] { get; set; }
public:
property IList<Key^>^ Item {
    virtual IList<Key^>^ get() sealed;
    virtual void set(IList<Key^>^ value) sealed;
}
 

Parameters

name

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

The name of the key to get or set.

Exceptions

ExceptionCondition
ArgumentNullExceptionArgumentNullExceptionArgumentNullException name or the supplied value is null a null reference (Nothing in Visual Basic) nullptr.
KeyNotFoundExceptionKeyNotFoundExceptionKeyNotFoundExceptionThe property is retrieved and the key with the specified name is not found.