CreateEditor Method
Collapse the table of content
Expand the table of content

IStringHttpBodyEditorPlugin.CreateEditor Method

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)

function CreateEditor(
	contentType : String, 
	initialValue : String
) : Object

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.

Community Additions

ADD
Show:
© 2016 Microsoft