ITextProvider2.GetCaretRange(Boolean) 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.
Retrieves a zero-length text range at the location of the caret that belongs to the text-based control.
public:
ITextRangeProvider ^ GetCaretRange([Out] bool & isActive);
ITextRangeProvider GetCaretRange([Out] bool & isActive);
public ITextRangeProvider GetCaretRange(out bool isActive);
Public Function GetCaretRange (ByRef isActive As Boolean) As ITextRangeProvider
Parameters
- isActive
-
Boolean
bool
true if the text-based control that contains the caret has keyboard focus; otherwise, false.
Returns
A text range that represents the current location of the caret that belongs to the text-based control.
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Binnenkort beschikbaar: In de loop van 2024 zullen we GitHub-problemen geleidelijk uitfaseren als het feedbackmechanisme voor inhoud en deze vervangen door een nieuw feedbacksysteem. Zie voor meer informatie:Feedback verzenden en weergeven voor