IppPrintDevice.GetPrinterAttributes(IIterable<String>) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取当前打印机的属性,作为 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)
参数
返回
Internet 打印协议 (IPP) 属性名称和值对的映射。