StringHttpBody.BodyString 属性

获取或设置包含 HTTP 正文内容的字符串。

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

语法

声明
Public Property BodyString As String
    Get
    Set
public string BodyString { get; set; }
public:
property String^ BodyString {
    String^ get ();
    void set (String^ value);
}
member BodyString : string with get, set
function get BodyString () : String
function set BodyString (value : String)

属性值

类型:System.String
表示 HTTP 正文的值。默认值为空字符串。

.NET Framework 安全性

请参见

参考

StringHttpBody 类

Microsoft.VisualStudio.TestTools.WebTesting 命名空间