UITechnologyManager.ConvertToThisTechnology Method
Takes an element from another technology and returns an element that is compatible for the current technology, along with the level of support 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
Public MustOverride Function ConvertToThisTechnology ( _
elementToConvert As IUITechnologyElement, _
<OutAttribute> ByRef supportLevel As Integer _
) As IUITechnologyElement
public abstract IUITechnologyElement ConvertToThisTechnology(
IUITechnologyElement elementToConvert,
out int supportLevel
)
public:
virtual IUITechnologyElement^ ConvertToThisTechnology(
IUITechnologyElement^ elementToConvert,
[OutAttribute] int% supportLevel
) abstract
abstract ConvertToThisTechnology :
elementToConvert:IUITechnologyElement *
supportLevel:int byref -> IUITechnologyElement
public abstract 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.
Implements
IUITechnologyManager.ConvertToThisTechnology(IUITechnologyElement, Int32%)
.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.