PrintWorkflowPdlModificationRequestedEventArgs.CreateJobOnPrinterWithAttributes 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
CreateJobOnPrinterWithAttributes(IIterable<KeyValuePair<String,IppAttributeValue>>, String)
使用指定列表中的初始作业属性在打印机上创建作业。
public:
virtual PrintWorkflowPdlTargetStream ^ CreateJobOnPrinterWithAttributes(IIterable<IKeyValuePair<Platform::String ^, IppAttributeValue ^> ^> ^ jobAttributes, Platform::String ^ targetContentType) = CreateJobOnPrinterWithAttributes;
PrintWorkflowPdlTargetStream CreateJobOnPrinterWithAttributes(IIterable<IKeyValuePair<winrt::hstring, IppAttributeValue const&>> const& jobAttributes, winrt::hstring const& targetContentType);
public PrintWorkflowPdlTargetStream CreateJobOnPrinterWithAttributes(IEnumerable<KeyValuePair<string,IppAttributeValue>> jobAttributes, string targetContentType);
function createJobOnPrinterWithAttributes(jobAttributes, targetContentType)
Public Function CreateJobOnPrinterWithAttributes (jobAttributes As IEnumerable(Of KeyValuePair(Of String, IppAttributeValue)), targetContentType As String) As PrintWorkflowPdlTargetStream
参数
- jobAttributes
-
IIterable<IKeyValuePair<Platform::String,IppAttributeValue>>
IIterable<IKeyValuePair<winrt::hstring,IppAttributeValue>>
根据 IPP 规范中的定义,Internet 打印协议 (IPP) 作业属性的列表。
- targetContentType
-
String
Platform::String
winrt::hstring
作业的目标内容类型。
返回
作业的目标流。
适用于
CreateJobOnPrinterWithAttributes(IIterable<KeyValuePair<String, IppAttributeValue>>, String, IIterable<KeyValuePair<String,IppAttributeValue>>, PrintWorkflowAttributesMergePolicy, PrintWorkflowAttributesMergePolicy)
public:
virtual PrintWorkflowPdlTargetStream ^ CreateJobOnPrinterWithAttributes(IIterable<IKeyValuePair<Platform::String ^, IppAttributeValue ^> ^> ^ jobAttributes, Platform::String ^ targetContentType, IIterable<IKeyValuePair<Platform::String ^, IppAttributeValue ^> ^> ^ operationAttributes, PrintWorkflowAttributesMergePolicy jobAttributesMergePolicy, PrintWorkflowAttributesMergePolicy operationAttributesMergePolicy) = CreateJobOnPrinterWithAttributes;
PrintWorkflowPdlTargetStream CreateJobOnPrinterWithAttributes(IIterable<IKeyValuePair<winrt::hstring, IppAttributeValue const&>> const& jobAttributes, winrt::hstring const& targetContentType, IIterable<IKeyValuePair<winrt::hstring, IppAttributeValue const&>> const& operationAttributes, PrintWorkflowAttributesMergePolicy const& jobAttributesMergePolicy, PrintWorkflowAttributesMergePolicy const& operationAttributesMergePolicy);
public PrintWorkflowPdlTargetStream CreateJobOnPrinterWithAttributes(IEnumerable<KeyValuePair<string,IppAttributeValue>> jobAttributes, string targetContentType, IEnumerable<KeyValuePair<string,IppAttributeValue>> operationAttributes, PrintWorkflowAttributesMergePolicy jobAttributesMergePolicy, PrintWorkflowAttributesMergePolicy operationAttributesMergePolicy);
function createJobOnPrinterWithAttributes(jobAttributes, targetContentType, operationAttributes, jobAttributesMergePolicy, operationAttributesMergePolicy)
Public Function CreateJobOnPrinterWithAttributes (jobAttributes As IEnumerable(Of KeyValuePair(Of String, IppAttributeValue)), targetContentType As String, operationAttributes As IEnumerable(Of KeyValuePair(Of String, IppAttributeValue)), jobAttributesMergePolicy As PrintWorkflowAttributesMergePolicy, operationAttributesMergePolicy As PrintWorkflowAttributesMergePolicy) As PrintWorkflowPdlTargetStream
参数
- jobAttributes
-
IIterable<IKeyValuePair<Platform::String,IppAttributeValue>>
IIterable<IKeyValuePair<winrt::hstring,IppAttributeValue>>
根据 IPP 规范中的定义,Internet 打印协议 (IPP) 作业属性的列表。
- targetContentType
-
String
Platform::String
winrt::hstring
作业的目标内容类型。
- operationAttributes
-
IIterable<IKeyValuePair<Platform::String,IppAttributeValue>>
IIterable<IKeyValuePair<winrt::hstring,IppAttributeValue>>
收集操作作业属性。
- jobAttributesMergePolicy
- PrintWorkflowAttributesMergePolicy
PrintWorkflowAttributesMergePolicy 枚举的成员,指定 PSA 提供的作业属性与 PrintTicket 属性的合并方式。
- operationAttributesMergePolicy
- PrintWorkflowAttributesMergePolicy
PrintWorkflowAttributesMergePolicy 枚举的成员,该枚举指定如何将 PSA 提供的操作属性与 PrintTicket 属性合并。
返回
作业的目标流。
Windows 要求
设备系列 |
Windows 11 Insider Preview (在 10.0.23504.0 中引入)
|
API contract |
Windows.Foundation.UniversalApiContract (在 v15.0 中引入)
|