Share via


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

See Also

Reference

WinControl Class

Microsoft.VisualStudio.TestTools.UITesting.WinControls Namespace