Share via


PrintTaskOptionDetails.CreateItemListOption(String, String) Method

Definition

Creates a custom list of items that allow the user to choose the page format.

public:
 virtual PrintCustomItemListOptionDetails ^ CreateItemListOption(Platform::String ^ optionId, Platform::String ^ displayName) = CreateItemListOption;
PrintCustomItemListOptionDetails CreateItemListOption(winrt::hstring const& optionId, winrt::hstring const& displayName);
public PrintCustomItemListOptionDetails CreateItemListOption(string optionId, string displayName);
function createItemListOption(optionId, displayName)
Public Function CreateItemListOption (optionId As String, displayName As String) As PrintCustomItemListOptionDetails

Parameters

optionId
String

Platform::String

winrt::hstring

The ID for the custom item.

displayName
String

Platform::String

winrt::hstring

The display name for the custom item.

Returns

The list of custom items.

Applies to