Freigeben über


_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)]
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

A string representing the command line arguments.

Attributes

Examples

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

Remarks

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

Applies to