Sdílet prostřednictvím


StringHttpBody.ContentType – vlastnost

Získá hodnotu představující typ obsahu textu.

Obor názvů:  Microsoft.VisualStudio.TestTools.WebTesting
Sestavení:  Microsoft.VisualStudio.QualityTools.WebTestFramework (v Microsoft.VisualStudio.QualityTools.WebTestFramework.dll)

Syntaxe

'Deklarace
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)

Hodnota vlastnosti

Typ: String
Subjekt typu obsahu.

Implementuje

IHttpBody.ContentType

Zabezpečení rozhraní .NET Framework

Viz také

Referenční dokumentace

StringHttpBody Třída

Microsoft.VisualStudio.TestTools.WebTesting – obor názvů