Sdílet prostřednictvím


NamedValueDictionary.Add Method

Adds the specified key and value to the dictionary.

Namespace: Microsoft.Xna.Framework.Content.Pipeline
Assembly: Microsoft.Xna.Framework.Content.Pipeline (in microsoft.xna.framework.content.pipeline.dll)

Syntax

public void Add (
         string key,
         T value
)

Parameters

  • key
    Identity of the key of the new data pair.
  • value
    The value of the new data pair.

See Also

Reference

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

Platforms

Windows XP SP2, Windows Vista