UITest.CompareEnvironments Method (UITestEnvironment, UITestEnvironment)

 

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

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

Parameters

Return Value

Type: System.Collections.ObjectModel.Collection<SettingMismatch>

A collection of mismatches.

See Also

UITestEnvironment
SettingMismatch
UITest Class
Microsoft.VisualStudio.TestTools.UITest.Common Namespace

Return to top