Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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
- source
Type: Microsoft.VisualStudio.TestTools.UITest.Common.UITestEnvironment
The source UITestEnvironment object.
- target
Type: Microsoft.VisualStudio.TestTools.UITest.Common.UITestEnvironment
The target UITestEnvironment object.
Return Value
Type: System.Collections.ObjectModel.Collection<SettingMismatch>
A collection of mismatches.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.