IUITechnologyManager.ConvertToThisTechnology Method
This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.
Takes an element from another technology and returns an element that is compatible for the current technology, together with the level of support that it has for the converted element.
Namespace: Microsoft.VisualStudio.TestTools.UITest.Extension
Assembly: Microsoft.VisualStudio.TestTools.UITest.Extension (in Microsoft.VisualStudio.TestTools.UITest.Extension.dll)
Syntax
'Declaration
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
Parameters
- elementToConvert
Type: Microsoft.VisualStudio.TestTools.UITest.Extension.IUITechnologyElement
An IUITechnologyElement object.
- supportLevel
Type: System.Int32%
(Output) The support level of the provided element in the new technology.
Return Value
Type: Microsoft.VisualStudio.TestTools.UITest.Extension.IUITechnologyElement
The new element.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
IUITechnologyManager Interface