다음을 통해 공유


AutomationProperties.SetAutomationId(DependencyObject, String) 메서드

정의

지정된 DependencyObject에 대한 AutomationId 연결된 속성을 설정합니다.

public:
 static void SetAutomationId(System::Windows::DependencyObject ^ element, System::String ^ value);
public static void SetAutomationId (System.Windows.DependencyObject element, string value);
static member SetAutomationId : System.Windows.DependencyObject * string -> unit
Public Shared Sub SetAutomationId (element As DependencyObject, value As String)

매개 변수

element
DependencyObject

속성을 설정할 DependencyObject입니다.

value
String

설정할 UI 자동화 식별자 값입니다.

적용 대상

추가 정보