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)
Syntax
'Declaration
Function CreateEditor ( _
contentType As String, _
initialValue As String _
) As Object
Object CreateEditor(
string contentType,
string initialValue
)
Object^ CreateEditor(
String^ contentType,
String^ initialValue
)
abstract CreateEditor :
contentType:string *
initialValue:string -> Object
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.
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.