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
- uiObjectId
Type: System.String
The UI object ID.
Property Value
Type: Microsoft.VisualStudio.TestTools.UITest.Common.UIMap.UIObject
A UI object.
.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