StartupNextInstanceEventArgs.CommandLine 属性

定义

获取后续应用程序实例的命令行参数。

public:
 property System::Collections::ObjectModel::ReadOnlyCollection<System::String ^> ^ CommandLine { System::Collections::ObjectModel::ReadOnlyCollection<System::String ^> ^ get(); };
public System.Collections.ObjectModel.ReadOnlyCollection<string> CommandLine { get; }
member this.CommandLine : System.Collections.ObjectModel.ReadOnlyCollection<string>
Public ReadOnly Property CommandLine As ReadOnlyCollection(Of String)

属性值

包含 ReadOnlyCollection<T> 后续应用程序实例的命令行参数的对象。

注解

使用Visual Basic应用程序模型启动单实例应用程序的后续实例时,将发生 StartupNextInstance 事件。 有关详细信息,请参阅 Visual Basic 应用程序模型的概述

适用于

另请参阅