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
coreElement
Type: Microsoft.VisualStudio.TestTools.UITest.Extension.IUITechnologyElementThe core technology element that must be wrapped.
Return Value
Type: Microsoft.VisualStudio.TestTools.UITest.Extension.IUITechnologyElement
The extension 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.