Process4.CommandLine Property
Gets the command line that started the program being debugged in Visual Studio. This is a read-only property.
Namespace: EnvDTE90a
Assembly: EnvDTE90a (in EnvDTE90a.dll)
Syntax
'Declaration
ReadOnly Property CommandLine As String
Get
string CommandLine { get; }
property String^ CommandLine {
String^ get ();
}
abstract CommandLine : string
function get CommandLine () : String
Property Value
Type: System.String
A string that contains the command line.
Remarks
The .exe portion of the command line is enclosed in quotation marks. For example, if you start notepad.exe from the command line c:\windows\system32\notepad.exe, this property gets the string "c:\windows\system32\notepad.exe". Command-line arguments appear outside the quotation marks. For example, "c:\myapp\myapp.exe" myfile.txt.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.