IppPrintDevice.SetPrinterAttributes Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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<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.