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
参数
- contentType
类型:System.String
要测试的内容类型。
返回值
类型:System.Boolean
如果插件支持指定的内容类型,则为 true;否则为 false。
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关更多信息,请参见通过部分受信任的代码使用库。