Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/csharp/266.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
C# 如何在loadtest插件上创建密码属性?_C#_Visual Studio_Plugins_Performance Testing_Webtest - Fatal编程技术网

C# 如何在loadtest插件上创建密码属性?

C# 如何在loadtest插件上创建密码属性?,c#,visual-studio,plugins,performance-testing,webtest,C#,Visual Studio,Plugins,Performance Testing,Webtest,我在VisualStudio中创建了小型负载测试插件 插件具有密码属性: [DisplayName("Password")] [Description("Set your password")] public string Password {get; set} 但密码不会替换为属性窗口上的星号 如何创建正确的密码属性,该密码将替换为星号?添加数据类型批注[DataType(DataType.password)]是否使用winforms?WPF?数据类型注释不起作用。我想是windows窗体,

我在VisualStudio中创建了小型负载测试插件

插件具有密码属性:

[DisplayName("Password")]
[Description("Set your password")]
public string Password {get; set}
但密码不会替换为属性窗口上的星号


如何创建正确的密码属性,该密码将替换为星号?

添加数据类型批注
[DataType(DataType.password)]
是否使用winforms?WPF?数据类型注释不起作用。我想是windows窗体,但我不确定。它使用System.Windows.Forms进行
在代码示例中