Bagikan melalui


GameWindow.Title Property

Gets and sets the title of the system window.

Namespace: Microsoft.Xna.Framework
Assembly: Microsoft.Xna.Framework.Game (in microsoft.xna.framework.game.dll)

Syntax

public string Title { get; set; }

Property Value

The title of the system window.

Exceptions

Exception type Condition
ArgumentNullException Title is null. Use an empty string instead.

Note

This property is ignored on the Xbox 360.

See Also

Reference

GameWindow Class
GameWindow Members
Microsoft.Xna.Framework Namespace

Platforms

Xbox 360, Windows 7, Windows Vista, Windows XP