AutomationProperties.GetAutomationId(DependencyObject) 메서드

정의

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

public:
 static Platform::String ^ GetAutomationId(DependencyObject ^ element);
 static winrt::hstring GetAutomationId(DependencyObject const& element);
public static string GetAutomationId(DependencyObject element);
function getAutomationId(element)
Public Shared Function GetAutomationId (element As DependencyObject) As String

매개 변수

element
DependencyObject

검사 DependencyObject입니다.

반환

String

Platform::String

winrt::hstring

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

적용 대상