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 element that encloses the text range.
public:
IRawElementProviderSimple ^ GetEnclosingElement();
IRawElementProviderSimple GetEnclosingElement();
public IRawElementProviderSimple GetEnclosingElement();
function getEnclosingElement()
Public Function GetEnclosingElement () As IRawElementProviderSimple
Returns
The enclosing control, typically the text provider that provides the text range. However, if the text provider supports child text elements such as tables or hyperlinks, the enclosing element can be a descendant of the text provider.
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for