IppPrintDevice.GetPrinterAttributes(IIterable<String>) 方法

定義

取得目前印表機的屬性,做為網際網路列印通訊協定對應 (IPP) 屬性名稱和值組。

public:
 virtual IMap<Platform::String ^, IppAttributeValue ^> ^ GetPrinterAttributes(IIterable<Platform::String ^> ^ attributeNames) = GetPrinterAttributes;
IMap<winrt::hstring, IppAttributeValue const&> GetPrinterAttributes(IIterable<winrt::hstring> const& attributeNames);
public IDictionary<string,IppAttributeValue> GetPrinterAttributes(IEnumerable<string> attributeNames);
function getPrinterAttributes(attributeNames)
Public Function GetPrinterAttributes (attributeNames As IEnumerable(Of String)) As IDictionary(Of String, IppAttributeValue)

參數

attributeNames

IIterable<String>

IEnumerable<String>

IIterable<Platform::String>

IIterable<winrt::hstring>

要擷取的 IPP 屬性名稱。

傳回

網際網路列印通訊協定的對應 (IPP) 屬性名稱和值組。

適用於