Sdílet prostřednictvím


FileUploadParameter.ContentType – vlastnost

Získá nebo nastaví záhlaví typu obsahu.

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

Hodnota vlastnosti

Typ: System.String
Hlavička typu obsahu.Výchozí hodnota je "application/octet-stream".

Zabezpečení rozhraní .NET Framework

Viz také

Odkaz

FileUploadParameter Třída

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