AutomationProperties.GetAutomationId(DependencyObject) 메서드

정의

지정된 AutomationId에 대한 DependencyObject 연결된 속성을 가져옵니다.

public:
 static System::String ^ GetAutomationId(System::Windows::DependencyObject ^ element);
public static string GetAutomationId (System.Windows.DependencyObject element);
static member GetAutomationId : System.Windows.DependencyObject -> string
Public Shared Function GetAutomationId (element As DependencyObject) As String

매개 변수

element
DependencyObject

확인할 DependencyObject입니다.

반환

String

지정된 요소의 UI 자동화 식별자입니다.

설명

속성이 설정되지 않은 경우 AutomationId 이 메서드는 속성을 반환합니다 Name .

적용 대상

추가 정보