Share via


WorkflowPrintTicket.SetParameterInitializerAsString Method

Definition

Sets the given print parameter to the given string value. This can only be done if an initializer for the specified parameter doesn't yet exist.

public:
 virtual PrintTicketParameterInitializer ^ SetParameterInitializerAsString(Platform::String ^ name, Platform::String ^ xmlNamespace, Platform::String ^ stringValue) = SetParameterInitializerAsString;
PrintTicketParameterInitializer SetParameterInitializerAsString(winrt::hstring const& name, winrt::hstring const& xmlNamespace, winrt::hstring const& stringValue);
public PrintTicketParameterInitializer SetParameterInitializerAsString(string name, string xmlNamespace, string stringValue);
function setParameterInitializerAsString(name, xmlNamespace, stringValue)
Public Function SetParameterInitializerAsString (name As String, xmlNamespace As String, stringValue As String) As PrintTicketParameterInitializer

Parameters

name
String

Platform::String

winrt::hstring

The canonical name of the printing parameter.

xmlNamespace
String

Platform::String

winrt::hstring

The XML namespace of the printing parameter.

stringValue
String

Platform::String

winrt::hstring

The value to set this parameter to.

Returns

The parameter initializer object for the newly set parameter.

Applies to