Compartilhar via


PrintWorkflowPdlModificationRequestedEventArgs.CreateJobOnPrinterWithAttributes Método

Definição

Sobrecargas

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

Cria um trabalho na impressora com atributos de trabalho iniciais da lista especificada.

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

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

Cria um trabalho na impressora com atributos de trabalho iniciais da lista especificada.

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

Parâmetros

jobAttributes

IIterable<IKeyValuePair<String,IppAttributeValue>>

IEnumerable<KeyValuePair<String,IppAttributeValue>>

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

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

Uma lista de atributos de trabalho IPP (Internet Printing Protocol), de acordo com a definição na especificação do IPP.

targetContentType
String

Platform::String

winrt::hstring

O tipo de conteúdo de destino para o trabalho.

Retornos

O fluxo de destino para o trabalho.

Aplica-se a

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

Parâmetros

jobAttributes

IIterable<IKeyValuePair<String,IppAttributeValue>>

IEnumerable<KeyValuePair<String,IppAttributeValue>>

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

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

Uma lista de atributos de trabalho IPP (Internet Printing Protocol), de acordo com a definição na especificação do IPP.

targetContentType
String

Platform::String

winrt::hstring

O tipo de conteúdo de destino para o trabalho.

operationAttributes

IIterable<IKeyValuePair<String,IppAttributeValue>>

IEnumerable<KeyValuePair<String,IppAttributeValue>>

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

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

Um atributo de trabalho de operação de coleção.

jobAttributesMergePolicy
PrintWorkflowAttributesMergePolicy

Um membro da enumeração PrintWorkflowAttributesMergePolicy especificando como os atributos de trabalho fornecidos pelo PSA são mesclados com atributos PrintTicket.

operationAttributesMergePolicy
PrintWorkflowAttributesMergePolicy

Um membro da enumeração PrintWorkflowAttributesMergePolicy especificando como os atributos de operação fornecidos pelo PSA são mesclados com atributos PrintTicket.

Retornos

O fluxo de destino para o trabalho.

Requisitos do Windows

Família de dispositivos
Windows 11 Insider Preview (introduzida na 10.0.23504.0)
API contract
Windows.Foundation.UniversalApiContract (introduzida na v15.0)

Aplica-se a