Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

UITechnologyManagerProxy::ConvertToThisTechnology Method (IUITechnologyElement^, Int32)

 

Converts the given element of another technology to new element of this technology manager.

This is used for operations such as switching between hosted and hosting technologies.

Namespace:   Microsoft.VisualStudio.TestTools.UITesting
Assembly:  Microsoft.VisualStudio.TestTools.UITesting (in Microsoft.VisualStudio.TestTools.UITesting.dll)

public:
virtual IUITechnologyElement^ ConvertToThisTechnology(
	IUITechnologyElement^ elementToConvert,
	[OutAttribute] int% supportLevel
) override

Parameters

elementToConvert
Type: Microsoft.VisualStudio.TestTools.UITest.Extension::IUITechnologyElement^

The element to convert.

supportLevel
Type: System::Int32

The level of support provided for the converted element by this technology manager.

Return Value

Type: Microsoft.VisualStudio.TestTools.UITest.Extension::IUITechnologyElement^

The new converted element in this technology or null if no conversion is possible.

Return to top
Show: