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: String

    Content type of the StringHttpBody.

  • initialValue
    Type: String

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

Return Value

Type: 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

See Also

Reference

IStringHttpBodyEditorPlugin Interface

Microsoft.VisualStudio.TestTools.WebTesting Namespace