WindowAutomationPeer.GetNameCore 메서드

정의

ContentElementAutomationPeer와 연결된 Window의 텍스트 레이블을 가져옵니다. GetName()에 의해 호출됩니다.

protected:
 override System::String ^ GetNameCore();
[System.Security.SecurityCritical]
[System.Security.SecurityTreatAsSafe]
protected override string GetNameCore ();
protected override string GetNameCore ();
[<System.Security.SecurityCritical>]
[<System.Security.SecurityTreatAsSafe>]
override this.GetNameCore : unit -> string
override this.GetNameCore : unit -> string
Protected Overrides Function GetNameCore () As String

반환

String

NameName 또는 Window이 들어 있는 문자열이거나, 이름이 null이면 Empty입니다.

특성

설명

Name 속성에 참조 되는 컨트롤을 설명 하는 사용자가 사용 하는 텍스트의 문자열로 생각할 수 있습니다. 프로그래밍 방식으로 지역화된 방식으로 컨트롤을 참조할 수 있도록 GUI(그래픽 사용자 인터페이스)의 모든 컨트롤에 대한 텍스트 표현을 사용하는 것이 중요합니다.

적용 대상

추가 정보