HtmlLabel.LabelFor Property

Gets the name of the control that is associated with this label.

Namespace:  Microsoft.VisualStudio.TestTools.UITesting.HtmlControls
Assembly:  Microsoft.VisualStudio.TestTools.UITesting (in Microsoft.VisualStudio.TestTools.UITesting.dll)

Syntax

'Declaration
Public Overridable ReadOnly Property LabelFor As String
public virtual string LabelFor { get; }
public:
virtual property String^ LabelFor {
    String^ get ();
}
abstract LabelFor : string with get 
override LabelFor : string with get
function get LabelFor () : String

Property Value

Type: String
The name of the control that is associated with this label.

.NET Framework Security

See Also

Reference

HtmlLabel Class

Microsoft.VisualStudio.TestTools.UITesting.HtmlControls Namespace