Manager.CheckProfile Method
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
)
public static boolean CheckProfile (
int adapter,
DeviceType deviceType,
Profile profile
)
public static function CheckProfile (
adapter : int,
deviceType : DeviceType,
profile : Profile
) : boolean
Parameters
- adapter
Ordinal number that denotes the display adapter to query. AdapterListCollection.Default is always the primary display adapter.
- deviceType
Member of the DeviceType enumeration that identifies the device type.
- profile
Profile to check compliance with.
Return Value
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 .
Platforms
Windows CE, Windows Mobile for Pocket PC, Windows Mobile for Smartphone
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.
Version Information
.NET Compact Framework
Supported in: 2.0
See Also
Reference
Manager Class
Manager Members
Microsoft.WindowsMobile.DirectX.Direct3D Namespace