DTE2.CommandLineArguments Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.