AutomationElement.RuntimeIdProperty 필드

정의

요소의 런타임 식별자를 포함하는 속성을 식별합니다.

public: static initonly System::Windows::Automation::AutomationProperty ^ RuntimeIdProperty;
public static readonly System.Windows.Automation.AutomationProperty RuntimeIdProperty;
 staticval mutable RuntimeIdProperty : System.Windows.Automation.AutomationProperty
Public Shared ReadOnly RuntimeIdProperty As AutomationProperty 

필드 값

예제

다음 예제에서는 속성의 현재 값을 검색합니다.

int[] runtimeIdentifier = (int[])
    autoElement.GetCurrentPropertyValue(AutomationElement.RuntimeIdProperty);
Dim runtimeIdentifier As Integer() = _
    CType(autoElement.GetCurrentPropertyValue(AutomationElement.RuntimeIdProperty), Integer())

설명

이 식별자는 UI 자동화 클라이언트 애플리케이션에서 사용됩니다. UI 자동화 공급자는 AutomationElementIdentifiers 해당 식별자를 사용해야 합니다.

런타임 ID 속성은 데스크톱에서 고유한 ID AutomationElement 를 지정합니다.

속성의 반환 값은 형식 Int32의 배열입니다. 기본값은 없습니다.

적용 대상

추가 정보