Partager via


DTE2.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)]
public string CommandLineArguments { [System.Runtime.InteropServices.DispId(214)] get; }
[<System.Runtime.InteropServices.DispId(214)>]
[<get: System.Runtime.InteropServices.DispId(214)>]
member this.CommandLineArguments : string
Public ReadOnly Property CommandLineArguments As String

Property Value

The command line arguments.

Implements

Attributes

Examples

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

Remarks

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

Applies to