Udostępnij za pośrednictwem


PrintWorkflowPrinterJob.SetJobAttributes Method

Definition

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

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

Parameters

jobAttributes

IIterable<IKeyValuePair<String,IppAttributeValue>>

IEnumerable<KeyValuePair<String,IppAttributeValue>>

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

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

A map of IPP attribute name and value pairs.

Returns

The result of the attribute set operation.

Applies to