Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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
- 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.