PropertyCollection.Add 方法 (String, String)

PropertyCollection 添加 PluginOrRuleProperty

命名空间:  Microsoft.VisualStudio.TestTools.WebTesting
程序集:  Microsoft.VisualStudio.QualityTools.WebTestFramework(在 Microsoft.VisualStudio.QualityTools.WebTestFramework.dll 中)

语法

声明
Public Sub Add ( _
    propertyName As String, _
    propertyValue As String _
)
public void Add(
    string propertyName,
    string propertyValue
)
public:
void Add(
    String^ propertyName, 
    String^ propertyValue
)
member Add : 
        propertyName:string * 
        propertyValue:string -> unit 
public function Add(
    propertyName : String, 
    propertyValue : String
)

参数

  • propertyName
    类型:System.String
    要添加的属性名称。

.NET Framework 安全性

请参见

参考

PropertyCollection 类

Add 重载

Microsoft.VisualStudio.TestTools.WebTesting 命名空间