Udostępnij za pośrednictwem


_DTE.CommandLineArguments Property

Gets a string representing the command line arguments.

Namespace:  EnvDTE
Assembly:  EnvDTE (in EnvDTE.dll)

Syntax

'Declaration
ReadOnly Property CommandLineArguments As String
string CommandLineArguments { get; }
property String^ CommandLineArguments {
    String^ get ();
}
abstract CommandLineArguments : string
function get CommandLineArguments () : String

Property Value

Type: System.String
A string representing the command line arguments.

Remarks

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

Examples

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

.NET Framework Security

See Also

Reference

_DTE Interface

EnvDTE Namespace