Metoda UITest.CompareEnvironments — (UITestEnvironment, UITestEnvironment)
Porównuje dwa, biorąc pod uwagę UITestEnvironment obiekty i zwraca kolekcję niezgodności.
Przestrzeń nazw: Microsoft.VisualStudio.TestTools.UITest.Common
Zestaw: Microsoft.VisualStudio.TestTools.UITest.Common (w Microsoft.VisualStudio.TestTools.UITest.Common.dll)
Składnia
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)
Parametry
- source
Źródło UITestEnvironment obiektu.
- target
Obiekt docelowy UITestEnvironment obiektu.
Wartość zwracana
Type: System.Collections.ObjectModel.Collection<SettingMismatch>
Kolekcja niezgodności.
Zobacz też
UITestEnvironment
SettingMismatch
Klasa UITest
Przestrzeń nazw Microsoft.VisualStudio.TestTools.UITest.Common
Powrót do początku