Bagikan melalui


PropertyDictionary.ContainsKey Method

Determines whether the PropertyDictionary contains an element with the specified key.

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

Syntax

public bool ContainsKey (
         string key
)

Parameters

Return Value

Returns true if the PropertyDictionary contains an element with the specified key; false otherwise.

See Also

Reference

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

Platforms

Xbox 360, Windows 7, Windows Vista, Windows XP, Windows Phone 7