共用方式為


PrintWorkflowPdlModificationRequestedEventArgs.CreateJobOnPrinterWithAttributes 方法

定義

多載

CreateJobOnPrinterWithAttributes(IIterable<KeyValuePair<String,IppAttributeValue>>, String)

使用指定清單中的初始作業屬性,在印表機上建立作業。

CreateJobOnPrinterWithAttributes(IIterable<KeyValuePair<String, IppAttributeValue>>, String, IIterable<KeyValuePair<String,IppAttributeValue>>, PrintWorkflowAttributesMergePolicy, PrintWorkflowAttributesMergePolicy)

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<String,IppAttributeValue>>

IEnumerable<KeyValuePair<String,IppAttributeValue>>

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

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

根據 IPP 規格中的定義,網際網路列印通訊協定 (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<String,IppAttributeValue>>

IEnumerable<KeyValuePair<String,IppAttributeValue>>

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

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

根據 IPP 規格中的定義,網際網路列印通訊協定 (IPP) 作業屬性的清單。

targetContentType
String

Platform::String

winrt::hstring

作業的目標內容類型。

jobAttributesMergePolicy
PrintWorkflowAttributesMergePolicy

PrintWorkflowAttributesMergePolicy列舉的成員,指定如何與 PrintTicket 屬性合併提供之工作屬性。

operationAttributesMergePolicy
PrintWorkflowAttributesMergePolicy

PrintWorkflowAttributesMergePolicy列舉的成員,指定如何與 PrintTicket 屬性合併提供之作業屬性。

傳回

作業的目標資料流程。

Windows 需求

裝置系列
Windows 11 Insider Preview (已於 10.0.23504.0 引進)
API contract
Windows.Foundation.UniversalApiContract (已於 v15.0 引進)

適用於