共用方式為


AspNetDevelopmentServerAttribute.PathToWebApp Property

Gets the path to the Web application.

Namespace:  Microsoft.VisualStudio.TestTools.UnitTesting.Web
Assembly:  Microsoft.VisualStudio.QualityTools.UnitTestFramework (in Microsoft.VisualStudio.QualityTools.UnitTestFramework.dll)

Syntax

'Declaration
Public ReadOnly Property PathToWebApp As String
public string PathToWebApp { get; }
public:
property String^ PathToWebApp {
    String^ get ();
}
member PathToWebApp : string with get
function get PathToWebApp () : String

Property Value

Type: String
The path to the Web application.

.NET Framework Security

See Also

Reference

AspNetDevelopmentServerAttribute Class

Microsoft.VisualStudio.TestTools.UnitTesting.Web Namespace

Other Resources

ASP.NET Unit Tests