WebTestRequestStatistics.ContentLength 属性

获取或设置响应的长度。

命名空间:  Microsoft.VisualStudio.TestTools.WebTesting
程序集:  Microsoft.VisualStudio.QualityTools.WebTestFramework(在 Microsoft.VisualStudio.QualityTools.WebTestFramework.dll 中)

语法

声明
Public Property ContentLength As Long
    Get
    Friend Set
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)

属性值

类型:System.Int64
响应的长度。该值以字节为单位。

.NET Framework 安全性

请参见

参考

WebTestRequestStatistics 类

Microsoft.VisualStudio.TestTools.WebTesting 命名空间