StartupEventArgs.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应用程序模型,Startup 事件发生。 有关详细信息,请参阅 Visual Basic 应用程序模型的概述

适用于

另请参阅