Export (0) Print
Expand All
ID
Top
Expand Minimize

CommandLineArguments Property

Visual Studio .NET 2003

Returns a string representing the command line arguments.

[Visual Basic .NET]
Public ReadOnly Property CommandLineArguments() As String
[Visual Basic 6]
Property Get CommandLineArguments() As String
[C++]
HRESULT __stdcall get_CommandLineArguments(
   /* [out, retval] */ BSTR* retVal
);
[C#]
public string CommandLineArguments {get;}
[JScript .NET]
public function get CommandLineArguments() : String

Remarks

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

Example

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

See Also

Applies To: DTE Object

Show:
© 2015 Microsoft