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
- 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.HtmlControls Namespace