UITestAction.UIObjectName Property
Gets or sets the name of the UI element on which this action operates.
Namespace: Microsoft.VisualStudio.TestTools.UITest.Common
Assembly: Microsoft.VisualStudio.TestTools.UITest.Common (in Microsoft.VisualStudio.TestTools.UITest.Common.dll)
Syntax
'Declaration
Public Property UIObjectName As String
public string UIObjectName { get; set; }
public:
property String^ UIObjectName {
String^ get ();
void set (String^ value);
}
member UIObjectName : string with get, set
function get UIObjectName () : String
function set UIObjectName (value : String)
Property Value
Type: String
The name of the UI object, or nulla null reference (Nothing in Visual Basic) during low-level recording where no object recognition occurs.
Remarks
Raises the PropertyChanged event when the value is set.
.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.