Share via


NamedValueDictionary.AddItem Method

Note

This method is available only when developing for Windows.

Adds an element to the dictionary.

Syntax

'Declaration
Protected Overridable Sub AddItem ( _
         key As String, _
         value As T _
)
protected virtual void AddItem (
         string key,
         T value
)
protected:
virtual void AddItem(
         String key,
         T value
)

Parameters

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

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