Jaa


IppPrintDevice.SetPrinterAttributes Method

Definition

Sets attributes for the current printer as specified by the specified map of Internet Printing Protocol (IPP) attribute name and value pairs.

public:
 virtual IppSetAttributesResult ^ SetPrinterAttributes(IIterable<IKeyValuePair<Platform::String ^, IppAttributeValue ^> ^> ^ printerAttributes) = SetPrinterAttributes;
IppSetAttributesResult SetPrinterAttributes(IIterable<IKeyValuePair<winrt::hstring, IppAttributeValue const&>> const& printerAttributes);
public IppSetAttributesResult SetPrinterAttributes(IEnumerable<KeyValuePair<string,IppAttributeValue>> printerAttributes);
function setPrinterAttributes(printerAttributes)
Public Function SetPrinterAttributes (printerAttributes As IEnumerable(Of KeyValuePair(Of String, IppAttributeValue))) As IppSetAttributesResult

Parameters

printerAttributes

IIterable<IKeyValuePair<String,IppAttributeValue>>

IEnumerable<KeyValuePair<String,IppAttributeValue>>

IIterable<IKeyValuePair<Platform::String,IppAttributeValue>>

IIterable<IKeyValuePair<winrt::hstring,IppAttributeValue>>

A map of Internet Printing Protocol (IPP) attribute name and value pairs.

Returns

The result of the attribute set operation.

Applies to