Partager via


Gamer.DisplayName Property

Gets the display name string for the gamer.

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

Syntax

public string DisplayName { get; set; }

Property Value

The display name for the gamer.

Remarks

Ff433955.note(en-us,XNAGameStudio.41).gifWindows Phone Specific Information

On Windows Phone this property always returns a localized string.

See Also

Reference

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

Platforms

Xbox 360, Windows 7, Windows Vista, Windows XP