Export (0) Print
Expand All

UIMap.MergeUIObject Method

Merges a UI object from the provided UI map into this map by using the provided name for the object.

Namespace:  Microsoft.VisualStudio.TestTools.UITest.Common.UIMap
Assembly:  Microsoft.VisualStudio.TestTools.UITest.Common (in Microsoft.VisualStudio.TestTools.UITest.Common.dll)

public UIObject MergeUIObject(
	UIMap uiMap,
	string objectName
)

Parameters

uiMap
Type: Microsoft.VisualStudio.TestTools.UITest.Common.UIMap.UIMap

A different UIMap object.

objectName
Type: System.String

The name of the object to add.

Return Value

Type: Microsoft.VisualStudio.TestTools.UITest.Common.UIMap.UIObject
The UI object in this map.

Show:
© 2014 Microsoft