WebTestRequest.Cache Property

Gets or sets a value that indicates whether to simulate browser caching for the request.

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

Syntax

'Declaration
Public Property Cache As Boolean
'Usage
Dim instance As WebTestRequest 
Dim value As Boolean 

value = instance.Cache

instance.Cache = value
public bool Cache { get; set; }
public:
property bool Cache {
    bool get ();
    void set (bool value);
}
public function get Cache () : boolean 
public function set Cache (value : boolean)

Property Value

Type: System.Boolean
true to simulate browser caching; otherwise, false. This has a default value of false.

.NET Framework Security

See Also

Reference

WebTestRequest Class

WebTestRequest Members

Microsoft.VisualStudio.TestTools.WebTesting Namespace