次の方法で共有


MouseHoverEventArgs.Position Property

Gets the position in the snapshot span of the character under the mouse at the time of the hover.

Namespace:  Microsoft.VisualStudio.Text.Editor
Assembly:  Microsoft.VisualStudio.Text.UI (in Microsoft.VisualStudio.Text.UI.dll)

Syntax

'宣言
Public ReadOnly Property Position As Integer
public int Position { get; }
public:
property int Position {
    int get ();
}
member Position : int
function get Position () : int

Property Value

Type: System.Int32
The position in the snapshot span of the character under the mouse at the time of the hover.

.NET Framework Security

See Also

Reference

MouseHoverEventArgs Class

Microsoft.VisualStudio.Text.Editor Namespace