Condividi tramite


Metodo UITest.CompareEnvironments

Consente di confrontare i due oggetti UITestEnvironment forniti e restituisce una raccolta di mancate corrispondenze.

Spazio dei nomi:  Microsoft.VisualStudio.TestTools.UITest.Common
Assembly:  Microsoft.VisualStudio.TestTools.UITest.Common (in Microsoft.VisualStudio.TestTools.UITest.Common.dll)

Sintassi

'Dichiarazione
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>

Parametri

Valore restituito

Tipo: System.Collections.ObjectModel.Collection<SettingMismatch>
Raccolta di mancate corrispondenze.

Sicurezza di .NET Framework

Vedere anche

Riferimenti

UITest Classe

Spazio dei nomi Microsoft.VisualStudio.TestTools.UITest.Common

UITestEnvironment

SettingMismatch