Metoda IUITechnologyManager.ConvertToThisTechnology —
Ten interfejs API obsługuje infrastrukturę programu .NET Framework i nie jest przeznaczony do użycia bezpośrednio w kodzie.
Przejście do elementu z innego technologii i zwraca element, który jest zgodny dla technologii bieżącego i poziom wsparcia, zawierający element przekonwertowane.
Przestrzeń nazw: Microsoft.VisualStudio.TestTools.UITest.Extension
Zestaw: Microsoft.VisualStudio.TestTools.UITest.Extension (w Microsoft.VisualStudio.TestTools.UITest.Extension.dll)
Składnia
'Deklaracja
Function ConvertToThisTechnology ( _
elementToConvert As IUITechnologyElement, _
<OutAttribute> ByRef supportLevel As Integer _
) As IUITechnologyElement
IUITechnologyElement ConvertToThisTechnology(
IUITechnologyElement elementToConvert,
out int supportLevel
)
IUITechnologyElement^ ConvertToThisTechnology(
IUITechnologyElement^ elementToConvert,
[OutAttribute] int% supportLevel
)
abstract ConvertToThisTechnology :
elementToConvert:IUITechnologyElement *
supportLevel:int byref -> IUITechnologyElement
function ConvertToThisTechnology(
elementToConvert : IUITechnologyElement,
supportLevel : int
) : IUITechnologyElement
Parametry
- elementToConvert
Typ: Microsoft.VisualStudio.TestTools.UITest.Extension.IUITechnologyElement
IUITechnologyElement Obiektu.
- supportLevel
Typ: System.Int32%
(Wyjście) Poziom wsparcia podany element w nowej technologii.
Wartość zwracana
Typ: Microsoft.VisualStudio.TestTools.UITest.Extension.IUITechnologyElement
Nowy element.
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
IUITechnologyManager Interfejs
Przestrzeń nazw Microsoft.VisualStudio.TestTools.UITest.Extension