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
Not applicable.
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.
Platforms
Windows CE, Windows Mobile for Pocket PC, Windows Mobile for Smartphone
The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.
Version Information
.NET Compact Framework
Supported in: 2.0
See Also
Reference
Manager Class
Manager Members
Microsoft.WindowsMobile.DirectX.Direct3D Namespace