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> 包含應用程式命令列參數的物件。

備註

Startup 事件發生於應用程式啟動時,若應用程式實作了 Visual Basic 應用程式模型。 欲了解更多資訊,請參閱 Visual Basic 應用模型概述

適用於

另請參閱