IStringHttpBodyEditorPlugin.SupportsContentType Yöntem
Bu eklenti bir içerik türünü destekleyip desteklemediğini belirler.
Ad alanı: Microsoft.VisualStudio.TestTools.WebTesting
Derleme: Microsoft.VisualStudio.QualityTools.WebTestFramework (Microsoft.VisualStudio.QualityTools.WebTestFramework.dll içinde)
Sözdizimi
'Bildirim
Function SupportsContentType ( _
contentType As String _
) As Boolean
bool SupportsContentType(
string contentType
)
bool SupportsContentType(
String^ contentType
)
abstract SupportsContentType :
contentType:string -> bool
function SupportsContentType(
contentType : String
) : boolean
Parametreler
- contentType
Tür: System.String
Test etmek için içerik türü.
Dönüş Değeri
Tür: System.Boolean
true Eklenti belirtilen içerik türü destekliyorsa; Aksi halde, false.
.NET Framework Güvenliği
- Anında arayanlar için tam güven. Bu üye kısmen güvenilen kodla kullanılamaz. Daha fazla bilgi için bkz. Kısmen güvenilen kod kitaplıklarını kullanma.