DTE2.CommandLineArguments Property

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Gets a string representing the command line arguments.

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

string CommandLineArguments { get; }

Property Value

Type: System.String
The command line arguments.

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

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

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