StartupEventArgs.CommandLine 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得應用程式的命令列參數。
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 應用模型概述。