PrintTaskOptionDetails.CreateItemListOption(String, String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for