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)

public:
static Collection<SettingMismatch^>^ CompareEnvironments(
	UITestEnvironment^ source, 
	UITestEnvironment^ target
)

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.

Show: