_DTE.CommandLineArguments Propriété
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Obtient une chaîne représentant les arguments de la ligne de commande.
public:
property System::String ^ CommandLineArguments { System::String ^ get(); };
public:
property Platform::String ^ CommandLineArguments { Platform::String ^ get(); };
[System.Runtime.InteropServices.DispId(214)]
public string CommandLineArguments { [System.Runtime.InteropServices.DispId(214)] get; }
[<System.Runtime.InteropServices.DispId(214)>]
[<get: System.Runtime.InteropServices.DispId(214)>]
member this.CommandLineArguments : string
Public ReadOnly Property CommandLineArguments As String
Valeur de propriété
Chaîne représentant les arguments de la ligne de commande.
- Attributs
Exemples
Sub CommandLineArgumentsExample()
MsgBox(DTE.CommandLineArguments)
End Sub
Remarques
La chaîne retourne tout ce qui figure après le nom du programme sur la ligne de commande.