Compartir a través de


IHttpBody.ContentType (Propiedad)

Obtiene un valor que representa el tipo de contenido del cuerpo.

Espacio de nombres:  Microsoft.VisualStudio.TestTools.WebTesting
Ensamblado:  Microsoft.VisualStudio.QualityTools.WebTestFramework (en Microsoft.VisualStudio.QualityTools.WebTestFramework.dll)

Sintaxis

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

Valor de propiedad

Tipo: System.String
El tipo de contenido del cuerpo.

Comentarios

El tipo del contenido puede obtenerse comprobando el tipo de FormPostParameter.

Seguridad de .NET Framework

Vea también

Referencia

IHttpBody Interfaz

Microsoft.VisualStudio.TestTools.WebTesting (Espacio de nombres)