创建 UserControl 对象以修改指定的字节。
命名空间:  Microsoft.VisualStudio.TestTools.WebTesting
程序集:  Microsoft.VisualStudio.QualityTools.WebTestFramework(在 Microsoft.VisualStudio.QualityTools.WebTestFramework.dll 中)
语法
声明
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
参数
- contentType
 类型:System.String
 BinaryHttpBody 的内容类型。
- initialValue
 类型:array<System.Byte[]
 要修改的字节,这些字节是 BinaryHttpBody 的负载。
返回值
类型:System.Object
可以显示和编辑指定内容类型的字节数组值的 UserControl 对象。
备注
在提供确定和取消按钮的插件对话框中将承载此控件。
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关更多信息,请参见通过部分受信任的代码使用库。