Share via


IppPrintDevice.IsIppPrinter(String) Method

Definition

Determines whether the string argument is the name of an Internet Printing Protocol (IPP) printer.

public:
 static bool IsIppPrinter(Platform::String ^ printerName);
 static bool IsIppPrinter(winrt::hstring const& printerName);
public static bool IsIppPrinter(string printerName);
function isIppPrinter(printerName)
Public Shared Function IsIppPrinter (printerName As String) As Boolean

Parameters

printerName
String

Platform::String

winrt::hstring

A string containing a candidate printer name.

Returns

Boolean

bool

true if printerName is the name of an Internet Printing Protocol (IPP) printer; otherwise, false.

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