DTE2.CommandLineArguments 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取一个表示命令行参数的字符串。
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
属性值
命令行参数。
实现
- 属性
示例
Sub CommandLineArgumentsExample()
MsgBox(DTE2.CommandLineArguments)
End Sub
注解
该字符串返回命令行的程序名称后列出的所有内容。