Aracılığıyla paylaş


IBinaryHttpBodyEditorPlugin.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

Ayrıca bkz.

Başvuru

IBinaryHttpBodyEditorPlugin Arabirim

Microsoft.VisualStudio.TestTools.WebTesting Ad Alanı