Metoda UITechnologyManagerProxy.ConvertToThisTechnology —
Konwertuje nowy element ten Menedżer technologii danego elementu innej technologii.
Używany do operacji, takich jak przełączanie między technologiami obsługiwane i hostingu.
Przestrzeń nazw: Microsoft.VisualStudio.TestTools.UITesting
Zestaw: Microsoft.VisualStudio.TestTools.UITesting (w Microsoft.VisualStudio.TestTools.UITesting.dll)
Składnia
'Deklaracja
Public Overrides Function ConvertToThisTechnology ( _
elementToConvert As IUITechnologyElement, _
<OutAttribute> ByRef supportLevel As Integer _
) As IUITechnologyElement
public override IUITechnologyElement ConvertToThisTechnology(
IUITechnologyElement elementToConvert,
out int supportLevel
)
public:
virtual IUITechnologyElement^ ConvertToThisTechnology(
IUITechnologyElement^ elementToConvert,
[OutAttribute] int% supportLevel
) override
abstract ConvertToThisTechnology :
elementToConvert:IUITechnologyElement *
supportLevel:int byref -> IUITechnologyElement
override ConvertToThisTechnology :
elementToConvert:IUITechnologyElement *
supportLevel:int byref -> IUITechnologyElement
public override function ConvertToThisTechnology(
elementToConvert : IUITechnologyElement,
supportLevel : int
) : IUITechnologyElement
Parametry
- elementToConvert
Typ: Microsoft.VisualStudio.TestTools.UITest.Extension.IUITechnologyElement
Element do konwersji.
- supportLevel
Typ: System.Int32%
Poziom wsparcia dla elementu przekonwertowane przez menedżera tej technologii.
Wartość zwracana
Typ: Microsoft.VisualStudio.TestTools.UITest.Extension.IUITechnologyElement
Nowy element przekonwertowane w tej technologii lub null, jeśli konwersja nie jest możliwe.
Implementuje
IUITechnologyManager.ConvertToThisTechnology(IUITechnologyElement, Int32%)
Zabezpieczenia programu .NET Framework
- Pełne zaufanie do bezpośredniego wywołującego. Tego elementu członkowskiego nie można używać w kodzie częściowo zaufanym. Aby uzyskać więcej informacji, zobacz Przy użyciu bibliotek z częściowo zaufanego kodu..
Zobacz też
Informacje
UITechnologyManagerProxy Klasa