共用方式為


CommandLineArguments.BaseDirectory Property

Definition

Directory used to resolve relative paths stored in the arguments.

public:
 property System::String ^ BaseDirectory { System::String ^ get(); };
public string BaseDirectory { get; }
public string? BaseDirectory { get; }
member this.BaseDirectory : string
Public ReadOnly Property BaseDirectory As String

Property Value

Remarks

Except for paths stored in MetadataReferences, all paths stored in the properties of this class are resolved and absolute. This is the directory that relative paths specified on command line were resolved against.

Applies to