UITechnologyManager.ConvertToThisTechnology Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
public:
abstract Microsoft::VisualStudio::TestTools::UITest::Extension::IUITechnologyElement ^ ConvertToThisTechnology(Microsoft::VisualStudio::TestTools::UITest::Extension::IUITechnologyElement ^ elementToConvert, [Runtime::InteropServices::Out] int % supportLevel);
public abstract Microsoft.VisualStudio.TestTools.UITest.Extension.IUITechnologyElement ConvertToThisTechnology (Microsoft.VisualStudio.TestTools.UITest.Extension.IUITechnologyElement elementToConvert, out int supportLevel);
abstract member ConvertToThisTechnology : Microsoft.VisualStudio.TestTools.UITest.Extension.IUITechnologyElement * int -> Microsoft.VisualStudio.TestTools.UITest.Extension.IUITechnologyElement
Public MustOverride Function ConvertToThisTechnology (elementToConvert As IUITechnologyElement, ByRef supportLevel As Integer) As IUITechnologyElement
Parameters
- elementToConvert
- IUITechnologyElement
An IUITechnologyElement object.
- supportLevel
- Int32
(Output) The support level of the provided element in the new technology.
Returns
The new element.