Dela via


WebTestRequest.EncodeRedirectedUrl Property

Gets or sets a Boolean value that indicates whether to encode query string parameters on a redirected URL.

Namespace:  Microsoft.VisualStudio.TestTools.WebTesting
Assembly:  Microsoft.VisualStudio.QualityTools.WebTestFramework (in Microsoft.VisualStudio.QualityTools.WebTestFramework.dll)

Syntax

'Declaration
Public Property EncodeRedirectedUrl As Boolean
public bool EncodeRedirectedUrl { get; set; }
public:
property bool EncodeRedirectedUrl {
    bool get ();
    void set (bool value);
}
member EncodeRedirectedUrl : bool with get, set
function get EncodeRedirectedUrl () : boolean
function set EncodeRedirectedUrl (value : boolean)

Property Value

Type: System.Boolean
true if encoding is required; otherwise, false. Default value is set to true.

.NET Framework Security

See Also

Reference

WebTestRequest Class

Microsoft.VisualStudio.TestTools.WebTesting Namespace