StringHttpBody.ContentType 属性

获取一个表示正文的内容类型的值。

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

语法

声明
Public Property ContentType As String
    Get
    Set
public string ContentType { get; set; }
public:
virtual property String^ ContentType {
    String^ get () sealed;
    void set (String^ value) sealed;
}
abstract ContentType : string with get, set
override ContentType : string with get, set
final function get ContentType () : String
final function set ContentType (value : String)

属性值

类型:System.String
正文内容类型。

实现

IHttpBody.ContentType

.NET Framework 安全性

请参见

参考

StringHttpBody 类

Microsoft.VisualStudio.TestTools.WebTesting 命名空间