Share via


ISelectionItemProvider.SelectionContainer Proprietà

Definizione

Ottiene il provider di automazione interfaccia utente che implementa ISelectionProvider e funge da contenitore per l'oggetto chiamante.

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

Valore della proprietà

Provider che supporta ISelectionProvider.

Esempio

Il codice di esempio seguente restituisce il provider di Automazione interfaccia utente per la casella di riepilogo che contiene l'elemento di elenco.

/// <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

Si applica a

Vedi anche