NamedValueDictionary.Add Method

Note

This method is available only when developing for Windows.

Adds the specified key and value to the dictionary.

Syntax

'Declaration
Public Sub Add ( _
         key As String, _
         value As T _
)
public void Add (
         string key,
         T value
)
public:
void Add(
         String key,
         T value
)

Parameters

  • key
    Type: String
    Identity of the key of the new data pair.
  • value
    Type: T
    The value of the new data pair.

Requirements

Namespace: Microsoft.Xna.Framework.Content.Pipeline

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

See Also

Reference

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

Platforms

Windows 7, Windows Vista, Windows XP