IBinaryHttpBodyEditorPlugin.SupportsContentType 方法

确定此插件是否支持内容类型。

命名空间:  Microsoft.VisualStudio.TestTools.WebTesting
程序集:  Microsoft.VisualStudio.QualityTools.WebTestFramework(在 Microsoft.VisualStudio.QualityTools.WebTestFramework.dll 中)

语法

声明
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

参数

返回值

类型:System.Boolean
如果插件支持指定的内容类型,则为 true;否则为 false。

.NET Framework 安全性

请参见

参考

IBinaryHttpBodyEditorPlugin 接口

Microsoft.VisualStudio.TestTools.WebTesting 命名空间