Partager via


UITechnologyManagerProxy.ConvertToExtensionElement Method

Conversion of core element to extension element.

All plugins extending this proxy technology manager must implement this and create a simple conversion with copy of core technology element and extension manager. Something like : public override IUITechnologyElement ConvertToExtensionElement(IUITechnologyElement coreElement) { ExtensionTechnologyElement extensionElement = new ExtensionTechnologyElement(); extensionElement.ExtensionTechnologyManager = this; extensionElement.CoreTechnologyElement = coreElement; return extensionElement; }

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

Syntax

'Declaration
Public MustOverride Function ConvertToExtensionElement ( _
    coreElement As IUITechnologyElement _
) As IUITechnologyElement
public abstract IUITechnologyElement ConvertToExtensionElement(
    IUITechnologyElement coreElement
)
public:
virtual IUITechnologyElement^ ConvertToExtensionElement(
    IUITechnologyElement^ coreElement
) abstract
abstract ConvertToExtensionElement : 
        coreElement:IUITechnologyElement -> IUITechnologyElement
public abstract function ConvertToExtensionElement(
    coreElement : IUITechnologyElement
) : IUITechnologyElement

Parameters

Return Value

Type: Microsoft.VisualStudio.TestTools.UITest.Extension.IUITechnologyElement
The extension element.

.NET Framework Security

See Also

Reference

UITechnologyManagerProxy Class

Microsoft.VisualStudio.TestTools.UITesting Namespace