共用方式為


TestContext.TestDir Property

Definition

Gets base directory for the test run, under which deployed files and result files are stored. Same as TestRunDirectory. Use that property instead.

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

Property Value

Applies to