IppPrintDevice.GetPrinterAttributes(IIterable<String>) 方法

定义

获取当前打印机的属性,作为 Internet 打印协议 (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 属性的名称。

返回

Internet 打印协议 (IPP) 属性名称和值对的映射。

适用于