IppPrintDevice.FromId(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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)
|