Manager.CheckProfile Method
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Checks to see whether or not a particular profile is supported.
Namespace: Microsoft.WindowsMobile.DirectX.Direct3D
Assembly: Microsoft.WindowsMobile.DirectX (in Microsoft.WindowsMobile.DirectX.dll)
Syntax
'Declaration
Public Shared Function CheckProfile ( _
adapter As Integer, _
deviceType As DeviceType, _
profile As Profile _
) As Boolean
'Usage
Dim adapter As Integer
Dim deviceType As DeviceType
Dim profile As Profile
Dim returnValue As Boolean
returnValue = Manager.CheckProfile(adapter, _
deviceType, profile)
public static bool CheckProfile(
int adapter,
DeviceType deviceType,
Profile profile
)
public:
static bool CheckProfile(
int adapter,
DeviceType deviceType,
Profile profile
)
static member CheckProfile :
adapter:int *
deviceType:DeviceType *
profile:Profile -> bool
Parameters
- adapter
Type: System.Int32
Ordinal number that denotes the display adapter to query. AdapterListCollection.Default is always the primary display adapter.
- deviceType
Type: Microsoft.WindowsMobile.DirectX.Direct3D.DeviceType
Member of the DeviceType enumeration that identifies the device type.
- profile
Type: Microsoft.WindowsMobile.DirectX.Direct3D.Profile
Profile to check compliance with.
Return Value
Type: System.Boolean
true indicates the device supports all of the features required to implement the specified profile; otherwise, false.
Remarks
This method is exclusive to the .NET Compact Framework.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
Platforms
Windows CE, Windows Mobile for Smartphone, Windows Mobile for Pocket PC
The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Version Information
.NET Compact Framework
Supported in: 3.5, 2.0