Share via


NamedValueDictionary Members

The following tables list the members exposed by the NamedValueDictionary type.

Public Constructors

Name Description
Public Method NamedValueDictionary Initializes an instance of NamedValueDictionary.

Public Properties

Name Description
Public Property Count Gets the number of items in the dictionary.
Public Property Item Gets or sets the specified item.
Public Property Keys Gets all keys contained in the dictionary.
Public Property Values Gets all values contained in the dictionary.

Protected Properties

Name Description
Protected Property DefaultSerializerType Specifies the type hint for the intermediate serializer.

Public Methods

Name Description
Public Method Add Adds the specified key and value to the dictionary.
Public Method Clear Removes all keys and values from the dictionary.
Public Method ContainsKey Determines whether the specified key is present in the dictionary.
Public Method Equals (Inherited from Object.)
Public Method GetEnumerator Gets an enumerator that iterates through items in a dictionary.
Public Method GetHashCode (Inherited from Object.)
Public Method GetType (Inherited from Object.)
Public Method Remove Removes the specified key and value from the dictionary.
Public Method ToString (Inherited from Object.)
Public Method TryGetValue Gets the value associated with the specified key.

Protected Methods

Name Description
Protected Method AddItem Adds an element to the dictionary.
Protected Method ClearItems Removes all elements from the dictionary.
Protected Method Finalize (Inherited from Object.)
Protected Method MemberwiseClone (Inherited from Object.)
Protected Method RemoveItem Removes the specified element from the dictionary.
Protected Method SetItem Modifies the value of an existing element.

See Also

Reference

NamedValueDictionary Generic Class
Microsoft.Xna.Framework.Content.Pipeline Namespace