次の方法で共有


DeviceCreationParameters.AdapterOrdinal Property

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
'Usage
Dim instance As DeviceCreationParameters
Dim value As Integer

value = instance.AdapterOrdinal
public int AdapterOrdinal { get; }
public:
property int AdapterOrdinal {
    int get ();
}
/** @property */
public int get_AdapterOrdinal ()
public function get AdapterOrdinal () : int

Property Value

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

  • 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

DeviceCreationParameters Structure
DeviceCreationParameters Members
Microsoft.WindowsMobile.DirectX.Direct3D Namespace