UITest.CompareStoredEnvironmentWithCurrentEnvironment 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 the recorded configuration and the configuration captured at the beginning of the test.

Namespace:  Microsoft.VisualStudio.TestTools.UITest.CodeGeneration
Assembly:  Microsoft.VisualStudio.TestTools.UITest.CodeGeneration (in Microsoft.VisualStudio.TestTools.UITest.CodeGeneration.dll)

Syntax

'Declaration
Public Function CompareStoredEnvironmentWithCurrentEnvironment As Collection(Of SettingMismatch)
'Usage
Dim instance As UITest
Dim returnValue As Collection(Of SettingMismatch)

returnValue = instance.CompareStoredEnvironmentWithCurrentEnvironment()
public Collection<SettingMismatch> CompareStoredEnvironmentWithCurrentEnvironment()
public:
Collection<SettingMismatch^>^ CompareStoredEnvironmentWithCurrentEnvironment()
member CompareStoredEnvironmentWithCurrentEnvironment : unit -> Collection<SettingMismatch> 
public function CompareStoredEnvironmentWithCurrentEnvironment() : Collection<SettingMismatch>

Return Value

Type: System.Collections.ObjectModel.Collection<SettingMismatch>
The differences between the two configurations, if any.

.NET Framework Security

See Also

Reference

UITest Class

UITest Members

Microsoft.VisualStudio.TestTools.UITest.CodeGeneration Namespace

SettingMismatch

UITestEnvironment