แก้ไข

แชร์ผ่าน


ConsoleApplicationBase.InternalCommandLine Property

Definition

Sets the values to use as the current application's command-line arguments.

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)

Property Value

A ReadOnlyCollection<T> of String, containing the strings to use as the command-line arguments for the current application.

Remarks

This method allows you to set the internal value of the command-line arguments used by the ConsoleApplicationBase class. This property determines what the CommandLineArgs property returns. If you do not set this property, or you set this property to Nothing, the CommandLineArgs property obtains the command-line arguments from the CommandLine property.

Applies to

See also