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  

注解

该字符串返回命令行的程序名称后列出的所有内容。

适用于