IppPrintDevice.FromPrinterName(String) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
从打印机名称创建 IppPrintDevice 对象。
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
参数
- printerName
-
String
Platform::String
winrt::hstring
打印机名称。
返回
IppPrintDevice 对象。
Windows 要求
设备系列 |
Windows 11 Insider Preview (在 10.0.23504.0 中引入)
|
API contract |
Windows.Foundation.UniversalApiContract (在 v15.0 中引入)
|