Freigeben über


WebTestRequest.ContentType-Eigenschaft

Ruft den Inhaltstyp der Anforderung ab.

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; internal set; }
public:
property String^ ContentType {
    String^ get ();
    internal: void set (String^ value);
}
member ContentType : string with get, internal set
function get ContentType () : String
internal function set ContentType (value : String)

Eigenschaftswert

Typ: System.String

.NET Framework-Sicherheit

Siehe auch

Referenz

WebTestRequest Klasse

Microsoft.VisualStudio.TestTools.WebTesting-Namespace