Compartir a través de


IppPrintDevice.FromPrinterName(String) Método

Definición

Crea un objeto IppPrintDevice a partir de un nombre de impresora.

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

Parámetros

printerName
String

Platform::String

winrt::hstring

Un nombre de impresora.

Devoluciones

Objeto IppPrintDevice .

Requisitos de Windows

Familia de dispositivos
Windows 11 Insider Preview (se introdujo en la versión 10.0.23504.0)
API contract
Windows.Foundation.UniversalApiContract (se introdujo en la versión v15.0)

Se aplica a