UIObject.Item Property

Gets the specified UI child object in this object that has the given UI object ID.

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

Syntax

'Declaration
Public ReadOnly Default Property Item ( _
    uiObjectId As String _
) As UIObject
public UIObject this[
    string uiObjectId
] { get; }
public:
property UIObject^ default[String^ uiObjectId] {
    UIObject^ get (String^ uiObjectId);
}
member Item : UIObject
JScript does not support indexed properties.

Parameters

Property Value

Type: Microsoft.VisualStudio.TestTools.UITest.Common.UIMap.UIObject
A UI object.

.NET Framework Security

See Also

Reference

UIObject Class

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