Dela via


JumpListItem.CreateWithArguments(String, String) Method

Definition

Creates a new jump list item for an app's jump list.

public:
 static JumpListItem ^ CreateWithArguments(Platform::String ^ arguments, Platform::String ^ displayName);
 static JumpListItem CreateWithArguments(winrt::hstring const& arguments, winrt::hstring const& displayName);
public static JumpListItem CreateWithArguments(string arguments, string displayName);
function createWithArguments(arguments, displayName)
Public Shared Function CreateWithArguments (arguments As String, displayName As String) As JumpListItem

Parameters

arguments
String

Platform::String

winrt::hstring

String that specifies any command line arguments that should be passed onto the app when the jump list item is selected by a user.

displayName
String

Platform::String

winrt::hstring

String that specifies a display name for the jump list item. If localization is desired, this string must be a ms-resource: scheme specified URI.

Returns

A jump list item with the specified parameters that can be added to an app's jump list through the items property.

Applies to