共用方式為


IVsHighlight Interface

Used to move a dialog box to reveal a selection or highlight.

Namespace:  Microsoft.VisualStudio.TextManager.Interop
Assembly:  Microsoft.VisualStudio.TextManager.Interop (in Microsoft.VisualStudio.TextManager.Interop.dll)

Syntax

'宣告
<InterfaceTypeAttribute()> _
<GuidAttribute("22212CD2-83FF-11D2-92E6-005345000000")> _
Public Interface IVsHighlight
[InterfaceTypeAttribute()]
[GuidAttribute("22212CD2-83FF-11D2-92E6-005345000000")]
public interface IVsHighlight
[InterfaceTypeAttribute()]
[GuidAttribute(L"22212CD2-83FF-11D2-92E6-005345000000")]
public interface class IVsHighlight
[<InterfaceTypeAttribute()>]
[<GuidAttribute("22212CD2-83FF-11D2-92E6-005345000000")>]
type IVsHighlight =  interface end
public interface IVsHighlight

The IVsHighlight type exposes the following members.

Methods

  Name Description
Public method GetHighlightRect Returns the screen coordinates of a highlight rectangle.

Top

Remarks

A dialog box gets the screen coordinates of a selection or highlight to determine if it should move itself to reveal the selection or highlight.

Notes to Implementers

Implemented by IVsWindowFrame objects.

See Also

Reference

Microsoft.VisualStudio.TextManager.Interop Namespace