DeviceCreationParameters.AdapterOrdinal Property

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Gets an ordinal number that denotes the display adapter.

Namespace:  Microsoft.WindowsMobile.DirectX.Direct3D
Assembly:  Microsoft.WindowsMobile.DirectX (in Microsoft.WindowsMobile.DirectX.dll)

Syntax

'Declaration
Public ReadOnly Property AdapterOrdinal As Integer
    Get
'Usage
Dim instance As DeviceCreationParameters
Dim value As Integer

value = instance.AdapterOrdinal
public int AdapterOrdinal { get; }
public:
property int AdapterOrdinal {
    int get ();
}
member AdapterOrdinal : int

Property Value

Type: System.Int32
An ordinal number that denotes the display adapter.

Remarks

Use this ordinal as the adapter parameter for any of the Manager methods.

Note that different instances of Direct3D objects can use different ordinals. For example, adapters can enter or leave a system when users add or remove monitors from a multiple-monitor system, or when they hot-swap a laptop. Consequently, this ordinal should be used only in a Direct3D instance known to be valid, such as the Direct3D object that created this Device.

.NET Framework Security

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

See Also

Reference

DeviceCreationParameters Structure

DeviceCreationParameters Members

Microsoft.WindowsMobile.DirectX.Direct3D Namespace