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 

필드 값

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합니다. 기본값은 없습니다.

적용 대상

추가 정보