ITextRangeProvider.MoveEndpointByRange 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.
Moves one endpoint of a text range to the specified endpoint of a second text range.
public:
void MoveEndpointByRange(TextPatternRangeEndpoint endpoint, ITextRangeProvider ^ textRangeProvider, TextPatternRangeEndpoint targetEndpoint);
void MoveEndpointByRange(TextPatternRangeEndpoint const& endpoint, ITextRangeProvider const& textRangeProvider, TextPatternRangeEndpoint const& targetEndpoint);
public void MoveEndpointByRange(TextPatternRangeEndpoint endpoint, ITextRangeProvider textRangeProvider, TextPatternRangeEndpoint targetEndpoint);
function moveEndpointByRange(endpoint, textRangeProvider, targetEndpoint)
Public Sub MoveEndpointByRange (endpoint As TextPatternRangeEndpoint, textRangeProvider As ITextRangeProvider, targetEndpoint As TextPatternRangeEndpoint)
Parameters
- endpoint
- TextPatternRangeEndpoint
The endpoint to move.
- textRangeProvider
- ITextRangeProvider
Another range from the same text provider.
- targetEndpoint
- TextPatternRangeEndpoint
An endpoint on the other range.
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