ITextRangeProvider.GetEnclosingElement Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns the innermost control that encloses the text range.
public:
System::Windows::Automation::Provider::IRawElementProviderSimple ^ GetEnclosingElement();
public System.Windows.Automation.Provider.IRawElementProviderSimple GetEnclosingElement ();
abstract member GetEnclosingElement : unit -> System.Windows.Automation.Provider.IRawElementProviderSimple
Public Function GetEnclosingElement () As IRawElementProviderSimple
Returns
The enclosing control, typically the text provider that supplies the text range. However, if the text provider supports child elements such as tables or hyperlinks, then the enclosing element could be a descendant of the text provider.
Applies to
Colaborați cu noi pe GitHub
Sursa pentru acest conținut poate fi găsită pe GitHub, unde puteți, de asemenea, să creați și să consultați probleme și solicitări de tragere. Pentru mai multe informații, consultați ghidul nostru pentru colaboratori.