共用方式為


ContentWriter.TargetProfile Property

Note

This property is available only when developing for Windows.

Gets or sets the target graphics profile.

This should be one of the values of the GraphicsProfile Enumeration enumeration.

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

Syntax

public GraphicsProfile TargetProfile { get; }

Property Value

Target graphics profile of the content build. For a list of possible values, see GraphicsProfile Enumeration.

See Also

Reference

ContentWriter Class
ContentWriter Members
Microsoft.Xna.Framework.Content.Pipeline.Serialization.Compiler Namespace

Platforms

Windows 7, Windows Vista, Windows XP