ISelectionItemProvider.SelectionContainer 속성

정의

ISelectionProvider를 구현하고 호출하는 개체에서 컨테이너 역할을 하는 UI 자동화 공급자를 가져옵니다.

public:
 property System::Windows::Automation::Provider::IRawElementProviderSimple ^ SelectionContainer { System::Windows::Automation::Provider::IRawElementProviderSimple ^ get(); };
public System.Windows.Automation.Provider.IRawElementProviderSimple SelectionContainer { get; }
member this.SelectionContainer : System.Windows.Automation.Provider.IRawElementProviderSimple
Public ReadOnly Property SelectionContainer As IRawElementProviderSimple

속성 값

IRawElementProviderSimple

ISelectionProvider를 지원하는 공급자입니다.

예제

다음 예제 코드는 이 목록 항목이 포함된 목록 상자에 대한 UI 자동화 공급자를 반환합니다.

/// <summary>
/// Gets the list box that contains the item.
/// </summary>
/// <remarks>
/// Provider for the list that contains the item.
/// </remarks>
public IRawElementProviderSimple SelectionContainer
{
    get 
    {
        return containerListProvider;
    }
}
''' <summary>
''' Gets the list box that contains the item.
''' </summary>
''' <remarks>
''' Provider for the list that contains the item.
''' </remarks>
Public ReadOnly Property SelectionContainer() As IRawElementProviderSimple Implements ISelectionItemProvider.SelectionContainer
    Get
        Return containerListProvider
    End Get
End Property

적용 대상

추가 정보