다음을 통해 공유


HtmlLabel.LabelFor 속성

이 레이블에 연결된 컨트롤의 이름을 가져옵니다.

네임스페이스:  Microsoft.VisualStudio.TestTools.UITesting.HtmlControls
어셈블리:   Microsoft.VisualStudio.TestTools.UITesting(Microsoft.VisualStudio.TestTools.UITesting.dll)
  Microsoft.VisualStudio.TestTools.WindowsStore.UITesting(Microsoft.VisualStudio.TestTools.WindowsStore.UITesting.dll)

구문

‘선언
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

속성 값

형식: String
이 레이블에 연결된 컨트롤의 이름입니다.

.NET Framework 보안

참고 항목

참조

HtmlLabel 클래스

Microsoft.VisualStudio.TestTools.UITesting.HtmlControls 네임스페이스