UITest.CompareEnvironments Method

Compares the two given UITestEnvironment objects and returns a collection of mismatches.

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

Syntax

'Declaration
Public Shared Function CompareEnvironments ( _
    source As UITestEnvironment, _
    target As UITestEnvironment _
) As Collection(Of SettingMismatch)
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

Return Value

Type: System.Collections.ObjectModel.Collection<SettingMismatch>
A collection of mismatches.

.NET Framework Security

See Also

Reference

UITest Class

Microsoft.VisualStudio.TestTools.UITest.Common Namespace

UITestEnvironment

SettingMismatch