AutomationInteropProvider.AppendRuntimeId 필드

정의

UI 자동화 공급자가 GetRuntimeId()에 전달한 배열의 첫 번째 요소로 반환된 경우 ID가 부분적이므로 기본 공급자가 제공한 ID에 추가되어야 함을 나타내는 값이 포함되어 있습니다.

public: int AppendRuntimeId = 3;
public const int AppendRuntimeId = 3;
val mutable AppendRuntimeId : int
Public Const AppendRuntimeId As Integer  = 3

필드 값

Value = 3
Int32

예제

다음 예제는 구현의 IRawElementProviderFragment.GetRuntimeId 목록 항목에 대 한 합니다.

/// <summary>
/// Gets the runtime identifier of the UI Automation element.
/// </summary>
/// <remarks>
/// myID is a unique identifier for the item within this instance of the list.
/// </remarks>
public int[] GetRuntimeId()
{
    return new int[] { AutomationInteropProvider.AppendRuntimeId, myID };
}
''' <summary>
''' Gets the runtime identifier of the UI Automation element.
''' </summary>
''' <remarks>
''' myID is a unique identifier for the item within this instance of the list.
''' </remarks>
Public Function GetRuntimeId() As Integer() _
    Implements IRawElementProviderFragment.GetRuntimeId

    Return New Integer() {AutomationInteropProvider.AppendRuntimeId, myID}

End Function 'GetRuntimeId

설명

구현에서이 필드는 일반적으로 GetRuntimeId 조각에는 창에서 직접 호스트 되지 않는 요소에 대 한 합니다.

적용 대상