Share via


PropertyDictionary.Item Property

Gets or sets the element with the specified key.

Syntax

'Declaration
Public Property Item ( _
         key As String _
) As Object 
public Object this [
         string key
] { get; set; }
public:
property Object default [String] {
         Object get (String key);
         void set (Object value);
}

Property Value

Type: Object
The element that corresponds to the specified key.

Requirements

Namespace: Microsoft.Xna.Framework.GamerServices

Assembly: Microsoft.Xna.Framework.GamerServices (in microsoft.xna.framework.gamerservices.dll)

See Also

Reference

PropertyDictionary Class
PropertyDictionary Members
Microsoft.Xna.Framework.GamerServices Namespace

Platforms

Windows Phone