WebTestConditionalConstruct.Initialize 方法 (WebTestConditionalConstruct, ConditionalRuleReference)

通过复制指定的 ConditionalRuleReference 来初始化新的引用条件规则。

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

语法

声明
Protected Sub Initialize ( _
    copy As WebTestConditionalConstruct, _
    ruleCopy As ConditionalRuleReference _
)
protected void Initialize(
    WebTestConditionalConstruct copy,
    ConditionalRuleReference ruleCopy
)
protected:
void Initialize(
    WebTestConditionalConstruct^ copy, 
    ConditionalRuleReference^ ruleCopy
)
member Initialize : 
        copy:WebTestConditionalConstruct * 
        ruleCopy:ConditionalRuleReference -> unit 
protected function Initialize(
    copy : WebTestConditionalConstruct, 
    ruleCopy : ConditionalRuleReference
)

参数

.NET Framework 安全性

请参见

参考

WebTestConditionalConstruct 类

Initialize 重载

Microsoft.VisualStudio.TestTools.WebTesting 命名空间