_DTE.CommandLineArguments Property

Gets a string representing the command line arguments.

Namespace:  EnvDTE
Assembly:  EnvDTE (in EnvDTE.dll)

string CommandLineArguments { get; }

Property Value

Type: System.String
A string representing the command line arguments.

The string returns everything listed after the program name on the command line.

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

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft