Share via


WebTestRequest.ContentLength Property

Gets the length, in bytes, of the request body.

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

Syntax

'Declaration
Public Property ContentLength As Long
public long ContentLength { get; internal set; }
public:
property long long ContentLength {
    long long get ();
    internal: void set (long long value);
}
member ContentLength : int64 with get, internal set
function get ContentLength () : long 
internal function set ContentLength (value : long)

Property Value

Type: Int64

.NET Framework Security

See Also

Reference

WebTestRequest Class

Microsoft.VisualStudio.TestTools.WebTesting Namespace