Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
CreateEditor Method
Collapse the table of content
Expand the table of content

IBinaryHttpBodyEditorPlugin.CreateEditor Method

Creates a UserControl object to modify the specified bytes.

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

Function CreateEditor ( _
	contentType As String, _
	initialValue As Byte() _
) As Object


Type: System.String
Content type of the BinaryHttpBody.
Type: System.Byte()
Bytes, which are the payload of the BinaryHttpBody, to modify.

Return Value

Type: System.Object
A UserControl object that can display and edit the byte array 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

© 2015 Microsoft