Share via


IppPrintDevice.FromId(String) Method

Definition

Creates an IppPrintDevice object from a printer device id.

public:
 static IppPrintDevice ^ FromId(Platform::String ^ deviceId);
 static IppPrintDevice FromId(winrt::hstring const& deviceId);
public static IppPrintDevice FromId(string deviceId);
function fromId(deviceId)
Public Shared Function FromId (deviceId As String) As IppPrintDevice

Parameters

deviceId
String

Platform::String

winrt::hstring

A printer device id.

Returns

An IppPrintDevice object.

Windows requirements

Device family
Windows 11 Insider Preview (introduced in 10.0.23504.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v15.0)

Applies to