GraphicsAdapter.IsProfileSupported Method

Tests to see if the adapter supports the requested profile.

Syntax

'Declaration
Public Function IsProfileSupported ( _
         graphicsProfile As GraphicsProfile _
) As Boolean 
public bool IsProfileSupported (
         GraphicsProfile graphicsProfile
)
public:
bool IsProfileSupported(
         GraphicsProfile graphicsProfile
)

Parameters

Return Value

Type: Boolean
True if the adapter supports the profile; false otherwise.

Requirements

Namespace: Microsoft.Xna.Framework.Graphics

Assembly: Microsoft.Xna.Framework.Graphics (in microsoft.xna.framework.graphics.dll)

See Also

Reference

GraphicsAdapter Class
GraphicsAdapter Members
Microsoft.Xna.Framework.Graphics Namespace

Platforms

Windows Phone