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)
Syntax
'Declaration
Function CreateEditor ( _
contentType As String, _
initialValue As Byte() _
) As Object
Object CreateEditor(
string contentType,
byte[] initialValue
)
Object^ CreateEditor(
String^ contentType,
array<unsigned char>^ initialValue
)
abstract CreateEditor :
contentType:string *
initialValue:byte[] -> Object
function CreateEditor(
contentType : String,
initialValue : byte[]
) : Object
Parameters
contentType
Type: StringContent type of the BinaryHttpBody.
initialValue
Type: array<Byte[]Bytes, which are the payload of the BinaryHttpBody, to modify.
Return Value
Type: Object
A UserControl object that can display and edit the byte array value of the specified content type.
Remarks
This control will be hosted in the plug-in dialog box, which provides OK and Cancel buttons.
.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.