KeyDictionary ClassKeyDictionary ClassKeyDictionary Class

A mapping from key names to key declaration.

Inheritance Hierarchy

The KeyDictionaryKeyDictionaryKeyDictionary type exposes the following members.

Constructors

 ConstructorDescription
Public methodKeyDictionary ()KeyDictionary ()KeyDictionary () Initializes a new, empty instance of the KeyDictionaryKeyDictionaryKeyDictionary class.
Public methodKeyDictionary (KeyDictionary)KeyDictionary (KeyDictionary)KeyDictionary (KeyDictionary^) Initializes a new instance of the KeyDictionaryKeyDictionaryKeyDictionary class.

Top

Properties

 PropertyDescription
Public propertyCountCountCount Gets the number of keys contained in the KeyDictionaryKeyDictionaryKeyDictionary.
Public propertyItemItemItem Gets or sets the key with the specified name.
Public propertyNamesNamesNames Gets the names of the keys contained in this KeyDictionaryKeyDictionaryKeyDictionary.

Top

Methods

 MethodDescription
Public methodAdd (KeyValuePair<XmlQualifiedName, IList<Key>>)Add (KeyValuePair(Of XmlQualifiedName, IList(Of Key)))Add (KeyValuePair<XmlQualifiedName^, IList<Key^>^>) Adds an item to the ICollection<T>ICollection(Of T)ICollection<T>.
Public methodAdd (XmlQualifiedName, IList<Key>)Add (XmlQualifiedName, IList(Of Key))Add (XmlQualifiedName^, IList<Key^>^) Adds a new key with the specified name.
Public methodClearClearClear Removes all keys from the KeyDictionaryKeyDictionaryKeyDictionary.
Public methodContainsContainsContains Determines whether the KeyDictionaryKeyDictionaryKeyDictionary contains the specified key.
Public methodObject.EqualsObject.EqualsObject::EqualsDetermines whether the specified object is equal to the current object.(Inherited from System.ObjectSystem.ObjectSystem::Object)
Protected methodObject.FinalizeObject.FinalizeObject::FinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from System.ObjectSystem.ObjectSystem::Object)
Public methodGetEnumeratorGetEnumeratorGetEnumerator Returns an enumerator that iterates through the collection.
Public methodObject.GetHashCodeObject.GetHashCodeObject::GetHashCodeServes as the default hash function. (Inherited from System.ObjectSystem.ObjectSystem::Object)
Public methodObject.GetTypeObject.GetTypeObject::GetTypeGets the TypeTypeType of the current instance.(Inherited from System.ObjectSystem.ObjectSystem::Object)
Protected methodObject.MemberwiseCloneObject.MemberwiseCloneObject::MemberwiseCloneCreates a shallow copy of the current objectObjectobject.(Inherited from System.ObjectSystem.ObjectSystem::Object)
Public methodRemoveRemoveRemove Removes the key with the specified name from this KeyDictionaryKeyDictionaryKeyDictionary.
Public methodObject.ToStringObject.ToStringObject::ToStringReturns a string that represents the current object.(Inherited from System.ObjectSystem.ObjectSystem::Object)
Public methodTryGetValueTryGetValueTryGetValue Gets the value with the specified key.

Top

Remarks

A KeyDictionaryKeyDictionaryKeyDictionary instance is used to declare additional XSLT keys, so that the fn:key function can be used in XQuery and XPath when the XSLT function library is imported.