Share via


WebTestResponse.LastModified Property

Gets the last date and time that the contents of the response were modified.

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

Syntax

'Declaration
Public ReadOnly Property LastModified As DateTime
'Usage
Dim instance As WebTestResponse 
Dim value As DateTime 

value = instance.LastModified
public DateTime LastModified { get; }
public:
property DateTime LastModified {
    DateTime get ();
}
public function get LastModified () : DateTime

Property Value

Type: System.DateTime
A DateTime object.

Exceptions

Exception Condition
ObjectDisposedException

The current instance has been disposed.

Remarks

The LastModified property contains the value of the Last-Modified header received with the response. The date and time are assumed to be local time.

.NET Framework Security

See Also

Reference

WebTestResponse Class

WebTestResponse Members

Microsoft.VisualStudio.TestTools.WebTesting Namespace

Other Resources

HTTP