UITest.CompareEnvironments Method
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Returns a collection of SettingMismatch objects that specify the differences between two provided configurations.
Namespace: Microsoft.VisualStudio.TestTools.UITest.CodeGeneration
Assembly: Microsoft.VisualStudio.TestTools.UITest.CodeGeneration (in Microsoft.VisualStudio.TestTools.UITest.CodeGeneration.dll)
Syntax
'Declaration
Public Shared Function CompareEnvironments ( _
source As UITestEnvironment, _
target As UITestEnvironment _
) As Collection(Of SettingMismatch)
'Usage
Dim source As UITestEnvironment
Dim target As UITestEnvironment
Dim returnValue As Collection(Of SettingMismatch)
returnValue = UITest.CompareEnvironments(source, _
target)
public static Collection<SettingMismatch> CompareEnvironments(
UITestEnvironment source,
UITestEnvironment target
)
public:
static Collection<SettingMismatch^>^ CompareEnvironments(
UITestEnvironment^ source,
UITestEnvironment^ target
)
static member CompareEnvironments :
source:UITestEnvironment *
target:UITestEnvironment -> Collection<SettingMismatch>
public static function CompareEnvironments(
source : UITestEnvironment,
target : UITestEnvironment
) : Collection<SettingMismatch>
Parameters
- source
Type: Microsoft.VisualStudio.TestTools.UITest.Common.UITestEnvironment
A UITestEnvironment object representing the source configuration.
- target
Type: Microsoft.VisualStudio.TestTools.UITest.Common.UITestEnvironment
A UITestEnvironment object representing the target configuration.
Return Value
Type: System.Collections.ObjectModel.Collection<SettingMismatch>
The differences between the two configurations.
.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.
See Also
Reference
Microsoft.VisualStudio.TestTools.UITest.CodeGeneration Namespace