次の方法で共有


IppPrintDevice.IsIppPrinter(String) メソッド

定義

文字列引数がインターネット印刷プロトコル (IPP) プリンターの名前であるかどうかを判断します。

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

パラメーター

printerName
String

Platform::String

winrt::hstring

プリンター名の候補を含む文字列。

戻り値

Boolean

bool

trueprinterName がインターネット印刷プロトコル (IPP) プリンターの名前である場合。それ以外の場合は false

Windows の要件

デバイス ファミリ
Windows 11 Insider Preview (10.0.23504.0 で導入)
API contract
Windows.Foundation.UniversalApiContract (v15.0 で導入)

適用対象