Partager via


_DTE.CommandLineArguments, propriété

Obtient une chaîne représentant les arguments de la ligne de commande.

Espace de noms :  EnvDTE
Assembly :  EnvDTE (dans EnvDTE.dll)

Syntaxe

'Déclaration
ReadOnly Property CommandLineArguments As String
    Get
string CommandLineArguments { get; }
property String^ CommandLineArguments {
    String^ get ();
}
abstract CommandLineArguments : string
function get CommandLineArguments () : String

Valeur de propriété

Type : System.String
Chaîne représentant les arguments de la ligne de commande.

Notes

La chaîne retourne tout ce qui est énuméré après le nom du programme dans la ligne de commande.

Exemples

Sub CommandLineArgumentsExample()
  MsgBox(DTE.CommandLineArguments)
End Sub

Sécurité .NET Framework

Voir aussi

Référence

_DTE Interface

EnvDTE, espace de noms