_DTE.CommandLineArguments _DTE.CommandLineArguments _DTE.CommandLineArguments _DTE.CommandLineArguments _DTE.CommandLineArguments Property

Definition

Gets a string representing the command line arguments.

public:
 property System::String ^ CommandLineArguments { System::String ^ get(); };
public:
 property Platform::String ^ CommandLineArguments { Platform::String ^ get(); };
[System.Runtime.InteropServices.DispId(214)]
[get: System.Runtime.InteropServices.DispId(214)]
public string CommandLineArguments { get; }
member this.CommandLineArguments : string
Public ReadOnly Property CommandLineArguments As String

Property Value

A string representing the command line arguments.

Examples

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

Remarks

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

Applies to