Share via


DTE2.CommandLineArguments Property

Gets a string representing the command line arguments.

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

Syntax

'Declaration
ReadOnly Property CommandLineArguments As String
'Usage
Dim instance As DTE2 
Dim value As String 

value = instance.CommandLineArguments
string CommandLineArguments { get; }
property String^ CommandLineArguments {
    String^ get ();
}
function get CommandLineArguments () : String

Property Value

Type: System.String
The command line arguments.

Implements

_DTE.CommandLineArguments

Remarks

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

Examples

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

.NET Framework Security

See Also

Reference

DTE2 Interface

DTE2 Members

CommandLineArguments Overload

EnvDTE80 Namespace