DTE2.CommandLineArguments Property

 

Gets a string representing the command line arguments.

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

abstract CommandLineArguments : string with 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
Return to top
Show: