共用方式為


StringHttpBody.BodyString 屬性

取得或設定含有 HTTP 內容的字串。

命名空間:  Microsoft.VisualStudio.TestTools.WebTesting
組件:  Microsoft.VisualStudio.QualityTools.WebTestFramework (在 Microsoft.VisualStudio.QualityTools.WebTestFramework.dll 中)

語法

'宣告
Public Property BodyString As String
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)

屬性值

類型:String
表示 HTTP 內容的值。預設值為空字串。

.NET Framework 安全性

請參閱

參考

StringHttpBody 類別

Microsoft.VisualStudio.TestTools.WebTesting 命名空間