Share via


MouseHoverEventArgs(ITextView, Int32, IMappingPoint) Constructor

Definition

Initializes a new instance of a MouseHoverEventArgs.

public:
 MouseHoverEventArgs(Microsoft::VisualStudio::Text::Editor::ITextView ^ view, int position, Microsoft::VisualStudio::Text::IMappingPoint ^ textPosition);
public:
 MouseHoverEventArgs(Microsoft::VisualStudio::Text::Editor::ITextView ^ view, int position, Microsoft::VisualStudio::Text::IMappingPoint ^ textPosition);
 MouseHoverEventArgs(Microsoft::VisualStudio::Text::Editor::ITextView const & view, int position, Microsoft::VisualStudio::Text::IMappingPoint const & textPosition);
public MouseHoverEventArgs (Microsoft.VisualStudio.Text.Editor.ITextView view, int position, Microsoft.VisualStudio.Text.IMappingPoint textPosition);
new Microsoft.VisualStudio.Text.Editor.MouseHoverEventArgs : Microsoft.VisualStudio.Text.Editor.ITextView * int * Microsoft.VisualStudio.Text.IMappingPoint -> Microsoft.VisualStudio.Text.Editor.MouseHoverEventArgs
Public Sub New (view As ITextView, position As Integer, textPosition As IMappingPoint)

Parameters

view
ITextView

The view in which the hover event is being generated.

position
Int32

The position of the character under the mouse in the snapshot span of the view.

textPosition
IMappingPoint

The position mapped to the buffer graph of the character under the mouse.

Exceptions

view is null.

position is negative or greater than the length of the view's buffer.

Applies to