IppPrintDevice.FromPrinterName(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 name.
public:
static IppPrintDevice ^ FromPrinterName(Platform::String ^ printerName);
static IppPrintDevice FromPrinterName(winrt::hstring const& printerName);
public static IppPrintDevice FromPrinterName(string printerName);
function fromPrinterName(printerName)
Public Shared Function FromPrinterName (printerName As String) As IppPrintDevice
Parameters
- printerName
-
String
Platform::String
winrt::hstring
A printer name.
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)
|