Share via


UIMap.GetCount Method

Returns the number of UI objects in this map.

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

Syntax

'Declaration
Public Function GetCount As Integer
public int GetCount()
public:
int GetCount()
member GetCount : unit -> int 
public function GetCount() : int

Return Value

Type: System.Int32
The number of objects.

.NET Framework Security

See Also

Reference

UIMap Class

Microsoft.VisualStudio.TestTools.UITest.Common.UIMap Namespace