WebTestConditionalConstruct.Initialize Method (WebTestConditionalConstruct, ConditionalRuleReference)
Initializes a new referenced conditional rule by copying the specified ConditionalRuleReference.
Namespace: Microsoft.VisualStudio.TestTools.WebTesting
Assembly: Microsoft.VisualStudio.QualityTools.WebTestFramework (in Microsoft.VisualStudio.QualityTools.WebTestFramework.dll)
Syntax
'Declaration
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
)
Parameters
copy
Type: Microsoft.VisualStudio.TestTools.WebTesting.WebTestConditionalConstructThe WebTestConditionalConstruct to initialize.
ruleCopy
Type: Microsoft.VisualStudio.TestTools.WebTesting.ConditionalRuleReferenceThe ConditionalRuleReference to copy to create the WebTestConditionalConstruct.
.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.