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
- Plena confianza para el llamador inmediato. Un código de confianza parcial no puede utilizar este miembro. Para obtener más información, vea Utilizar bibliotecas de código que no es de plena confianza.
Vea también
Referencia
Microsoft.VisualStudio.TestTools.WebTesting (Espacio de nombres)