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

Return Value

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

.NET Framework Security

See Also

Reference

UITest Class

UITest Members

Microsoft.VisualStudio.TestTools.UITest.CodeGeneration Namespace

SettingMismatch

UITestEnvironment