Share via


DisplayAdapter.FromId(DisplayAdapterId) Method

Definition

Retrieves a DisplayAdapter for the given display adapter ID, if the adapter still exists on the system. This method throws an exception if the specified adapter cannot be found, or if it is no longer present on the system.

public:
 static DisplayAdapter ^ FromId(DisplayAdapterId id);
 static DisplayAdapter FromId(DisplayAdapterId const& id);
public static DisplayAdapter FromId(DisplayAdapterId id);
function fromId(id)
Public Shared Function FromId (id As DisplayAdapterId) As DisplayAdapter

Parameters

id
DisplayAdapterId

The DisplayAdapterId identifying the display adapter to retrieve. The identifier is a locally unique numeric ID (LUID) value.

Returns

A DisplayAdapter object representing the specified adapter.

Applies to