Sdílet prostřednictvím


NamedValueDictionary.AddItem Method

Adds an element to the dictionary.

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

Syntax

protected virtual void AddItem (
         string key,
         T value
)

Parameters

  • key
    Identity of the key of the new element.
  • value
    The value of the new element.

See Also

Reference

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

Platforms

Windows XP SP2, Windows Vista