IStringHttpBodyEditorPlugin.SupportsContentType Method
Determines whether this plug-in supports a content type.
Namespace: Microsoft.VisualStudio.TestTools.WebTesting
Assembly: Microsoft.VisualStudio.QualityTools.WebTestFramework (in Microsoft.VisualStudio.QualityTools.WebTestFramework.dll)
Syntax
'Declaration
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
Parameters
- contentType
Type: System.String
Content type to test.
Return Value
Type: System.Boolean
true if the plug-in supports the specified content type; otherwise, false.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.