JumpTask.Arguments Propiedad

Definición

Obtiene o establece los argumentos que se pasan a la aplicación al iniciarse.

public:
 property System::String ^ Arguments { System::String ^ get(); void set(System::String ^ value); };
public string Arguments { get; set; }
member this.Arguments : string with get, set
Public Property Arguments As String

Valor de propiedad

String

Argumentos que se pasan a la aplicación al iniciarse. De manera predeterminada, es null.

Ejemplos

En el ejemplo siguiente se muestra cómo declarar un JumpTask objeto en el marcado. JumpTask abre un archivo de texto denominado readme.txt en la aplicación Bloc de notas.

<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"/>

Se aplica a

Consulte también