MouseHoverEventArgs Constructor (ITextView^, Int32, IMappingPoint^)
Visual Studio 2015
Initializes a new instance of a MouseHoverEventArgs.
Assembly: Microsoft.VisualStudio.Text.UI (in Microsoft.VisualStudio.Text.UI.dll)
Parameters
- view
-
Type:
Microsoft.VisualStudio.Text.Editor::ITextView^
The view in which the hover event is being generated.
- position
-
Type:
System::Int32
The position of the character under the mouse in the snapshot span of the view.
- textPosition
-
Type:
Microsoft.VisualStudio.Text::IMappingPoint^
The position mapped to the buffer graph of the character under the mouse.
| Exception | Condition |
|---|---|
| ArgumentNullException | view is null. |
| ArgumentOutOfRangeException | position is negative or greater than the length of the view's buffer. |
Show: