DTE2.CommandLineArguments Свойство

Определение

Возвращает строку, которая представляет аргументы командной строки.

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

Значение свойства

String

Аргументы командной строки.

Реализации

Атрибуты

Примеры

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

Комментарии

Строка возвращает все, что указано в командной строке после имени программы.

Применяется к