JumpTask.Arguments Property

.NET Framework (current version)
 

Gets or sets the arguments passed to the application on startup.

Namespace:   System.Windows.Shell
Assembly:  PresentationFramework (in PresentationFramework.dll)

Public Property Arguments As String

Property Value

Type: System.String

The arguments passed to the application on startup. The default is null.

The following example shows how to declare a JumpTask in markup. The JumpTask opens a text file named readme.txt in the Notepad application.

<JumpTask Title="Read Me" 
          Description="Open readme.txt in Notepad." 
          ApplicationPath="C:\Windows\notepad.exe"
          IconResourcePath="C:\Windows\System32\imageres.dll"
          IconResourceIndex="14"
          WorkingDirectory="C:\Users\Public\Documents"
          Arguments="readme.txt"/>

.NET Framework
Available since 4.0
Return to top
Show: