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 Property LastModified As DateTime
public DateTime LastModified { get; internal set; }
public:
property DateTime LastModified {
    DateTime get ();
    internal: void set (DateTime value);
}
member LastModified : DateTime with get, internal set
function get LastModified () : DateTime 
internal function set LastModified (value : DateTime)

Property Value

Type: 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

Microsoft.VisualStudio.TestTools.WebTesting Namespace

Other Resources

HTTP