共用方式為


AspNetDevelopmentServerAttribute.WebAppRoot Property

Gets the Web application root.

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

Syntax

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

Property Value

Type: String
The Web application root.

.NET Framework Security

See Also

Reference

AspNetDevelopmentServerAttribute Class

Microsoft.VisualStudio.TestTools.UnitTesting.Web Namespace

Other Resources

ASP.NET Unit Tests