Share via


Proprietà IHttpBody.ContentType

Ottiene un valore che rappresenta il Content-Type del corpo.

Spazio dei nomi:  Microsoft.VisualStudio.TestTools.WebTesting
Assembly:  Microsoft.VisualStudio.QualityTools.WebTestFramework (in Microsoft.VisualStudio.QualityTools.WebTestFramework.dll)

Sintassi

'Dichiarazione
ReadOnly Property ContentType As String
string ContentType { get; }
property String^ ContentType {
    String^ get ();
}
abstract ContentType : string with get
function get ContentType () : String

Valore proprietà

Tipo: System.String
Il Content-Type del corpo.

Note

Il Content-Type può essere ottenuto verificato il tipo di FormPostParameter.

Sicurezza di .NET Framework

Vedere anche

Riferimenti

IHttpBody Interfaccia

Spazio dei nomi Microsoft.VisualStudio.TestTools.WebTesting