WinControl.ControlId Property
Gets the ID that is assigned to this control.
Namespace: Microsoft.VisualStudio.TestTools.UITesting.WinControls
Assembly: Microsoft.VisualStudio.TestTools.UITesting (in Microsoft.VisualStudio.TestTools.UITesting.dll)
Syntax
'Declaration
Public Overridable ReadOnly Property ControlId As Integer
public virtual int ControlId { get; }
public:
virtual property int ControlId {
int get ();
}
abstract ControlId : int with get
override ControlId : int with get
function get ControlId () : int
Property Value
Type: Int32
The ID that is assigned to this control.
.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.UITesting.WinControls Namespace