Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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)
Syntax
'Declaration
Public Function MergeUIObject ( _
    uiMap As UIMap, _
    objectName As String _
) As UIObject
public UIObject MergeUIObject(
    UIMap uiMap,
    string objectName
)
public:
UIObject^ MergeUIObject(
    UIMap^ uiMap, 
    String^ objectName
)
member MergeUIObject : 
        uiMap:UIMap * 
        objectName:string -> UIObject
public function MergeUIObject(
    uiMap : UIMap, 
    objectName : String
) : UIObject
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.
.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.
See Also
Reference
Microsoft.VisualStudio.TestTools.UITest.Common.UIMap Namespace