Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

IStringHttpBodyEditorPlugin.CreateEditor Method (String, String)

 

Creates a UserControl object to modify the specified string.

Namespace:   Microsoft.VisualStudio.TestTools.WebTesting
Assembly:  Microsoft.VisualStudio.QualityTools.WebTestFramework (in Microsoft.VisualStudio.QualityTools.WebTestFramework.dll)

object CreateEditor(
	string contentType,
	string initialValue
)

Parameters

contentType
Type: System.String

Content type of the StringHttpBody.

initialValue
Type: System.String

String, which is the payload of the StringHttpBody, to modify.

Return Value

Type: System.Object

A UserControl object that can display and modify the string value of the specified content type.

This control will be hosted in the plug-in dialog box, which provides OK and Cancel buttons.

Return to top
Show: