ConsoleApplicationBase.InternalCommandLine 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
設定用於當前應用程式命令列參數的值。
protected:
property System::Collections::ObjectModel::ReadOnlyCollection<System::String ^> ^ InternalCommandLine { void set(System::Collections::ObjectModel::ReadOnlyCollection<System::String ^> ^ value); };
protected System.Collections.ObjectModel.ReadOnlyCollection<string> InternalCommandLine { set; }
member this.InternalCommandLine : System.Collections.ObjectModel.ReadOnlyCollection<string>
Protected Property InternalCommandLine As ReadOnlyCollection(Of String)
屬性值
ReadOnlyCollection<T> A 的 String,包含用於當前應用程式命令列參數的字串。
備註
此方法允許你設定類別所使用的 ConsoleApplicationBase 命令列參數的內部值。 這個屬性決定了該 CommandLineArgs 屬性所回傳的是什麼。 如果你沒有設定這個屬性,或是將這個屬性設為 Nothing,該 CommandLineArgs 屬性會從該 CommandLine 屬性取得命令列參數。