StringHttpBody.ContentType Property
Gets a value representing the content-type of the body.
Namespace: Microsoft.VisualStudio.TestTools.WebTesting
Assembly: Microsoft.VisualStudio.QualityTools.WebTestFramework (in Microsoft.VisualStudio.QualityTools.WebTestFramework.dll)
Syntax
'Declaration
Public Property ContentType As String
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)
Property Value
Type: String
The body content-type.
Implements
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.