Udostępnij za pośrednictwem


UrlToTestAttribute.UrlToTest Property

Gets the URL that gives context to the test.

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

Syntax

'Declaration
Public ReadOnly Property UrlToTest As String
'Usage
Dim instance As UrlToTestAttribute 
Dim value As String 

value = instance.UrlToTest
public string UrlToTest { get; }
public:
property String^ UrlToTest {
    String^ get ();
}
public function get UrlToTest () : String

Property Value

Type: System.String
A URL string.

.NET Framework Security

See Also

Reference

UrlToTestAttribute Class

UrlToTestAttribute Members

Microsoft.VisualStudio.TestTools.UnitTesting.Web Namespace

Other Resources

ASP.NET Unit Tests