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
- source
Tipo: Microsoft.VisualStudio.TestTools.UITest.Common.UITestEnvironment
A fonte UITestEnvironment objeto.
- target
Tipo: Microsoft.VisualStudio.TestTools.UITest.Common.UITestEnvironment
O destino UITestEnvironment objeto.
Valor de retorno
Tipo: System.Collections.ObjectModel.Collection<SettingMismatch>
Uma coleção de incompatibilidades.
Segurança do .NET Framework
- Confiança total para o chamador imediato. O membro não pode ser usado por código parcialmente confiável. Para obter mais informações, consulte Usando bibliotecas de código parcialmente confiáveis.