共用方式為


BuildContent.TargetPlatform Property

Gets or sets the content build target platform.

This should be one of the values of the TargetPlatform Enumeration enumeration: Windows or Xbox360.

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

Syntax

[RequiredAttribute]
public string TargetPlatform { get; set; }

Property Value

Target of the content build. For a list of possible values, see TargetPlatform Enumeration.

See Also

Reference

BuildContent Class
BuildContent Members
Microsoft.Xna.Framework.Content.Pipeline.Tasks Namespace

Platforms

Windows XP SP2, Windows Vista