Método UITest.CompareEnvironments

Compara os dois dados UITestEnvironment objetos e retorna uma coleção de incompatibilidades.

Namespace:  Microsoft.VisualStudio.TestTools.UITest.Common
Assembly:  Microsoft.VisualStudio.TestTools.UITest.Common (em Microsoft.VisualStudio.TestTools.UITest.Common.dll)

Sintaxe

'Declaração
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>

Parâmetros

Valor de retorno

Tipo: System.Collections.ObjectModel.Collection<SettingMismatch>
Uma coleção de incompatibilidades.

Segurança do .NET Framework

Consulte também

Referência

UITest Classe

Namespace Microsoft.VisualStudio.TestTools.UITest.Common

UITestEnvironment

SettingMismatch