NamedValueDictionary<T> Class (Microsoft.Xna.Framework.Content.Pipeline)

System.Object
   Microsoft.Xna.Framework.Content.Pipeline.NamedValueDictionary<T>
   More...

Namespace: Microsoft.Xna.Framework.Content.Pipeline
Assembly: MonoGame.Framework.Content.Pipeline (MonoGame.Framework.Content.Pipeline.dll 3.8.0.1082)
  • C#
  • VB
  • F#
[DefaultMemberAttribute("Item")]
public class NamedValueDictionary<T> : IDictionary<string,T>, ICollection<KeyValuePair<string,T>>, IEnumerable<KeyValuePair<string,T>>, IEnumerable

Syntax for VB is not yet implemented.

Syntax for F# is not yet implemented.

The NamedValueDictionary<T> type exposes the following members.

  Platforms Name Description
NamedValueDictionary<T> Initializes an instance of NamedValueDictionary. 
Top
  Platforms Name Description
Count Gets the number of items in the dictionary. (Implements Count().)
DefaultSerializerType Specifies the type hint for the intermediate serializer. Values of this type do not store an explicit type attribute in the related XML source. 
Item Gets or sets the specified item. (Implements Item().)
Keys Gets all keys contained in the dictionary. (Implements Keys().)
Values Gets all values contained in the dictionary. (Implements Values().)
Top
  Platforms Name Description
Add Adds the specified key and value to the dictionary. (Implements IDictionary<TKey,TValue>.Add().)
AddItem Adds an element to the dictionary. 
Clear Removes all keys and values from the dictionary. (Implements ICollection<T>.Clear().)
ClearItems Removes all elements from the dictionary. 
ContainsKey Determines whether the specified key is present in the dictionary. (Implements IDictionary<TKey,TValue>.ContainsKey().)
GetEnumerator Gets an enumerator that iterates through items in a dictionary. (Implements IEnumerable<T>.GetEnumerator().)
Remove Removes the specified key and value from the dictionary. (Implements IDictionary<TKey,TValue>.Remove().)
RemoveItem Removes the specified element from the dictionary. 
SetItem Modifies the value of an existing element. 
TryGetValue Gets the value associated with the specified key. (Implements IDictionary<TKey,TValue>.TryGetValue().)
Top
Supported in:

    
 Windows DirectX Desktop
    
 Linux Desktop