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
'Usage
Dim instance As StringHttpBody
Dim value As String
value = instance.ContentType
instance.ContentType = value
public string ContentType { get; set; }
public:
virtual property String^ ContentType {
String^ get () sealed;
void set (String^ value) sealed;
}
public final function get ContentType () : String
public final function set ContentType (value : String)
Property Value
Type: System.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.