Compartir a través de


IVsThreadSafeTextView Interface

This is a thread-safe subset of IVsTextView.

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

Syntax

'Declaration
<GuidAttribute("FEC3BF2A-7833-4777-AE74-5FFF86D6794E")> _
<InterfaceTypeAttribute()> _
Public Interface IVsThreadSafeTextView
[GuidAttribute("FEC3BF2A-7833-4777-AE74-5FFF86D6794E")]
[InterfaceTypeAttribute()]
public interface IVsThreadSafeTextView
[GuidAttribute(L"FEC3BF2A-7833-4777-AE74-5FFF86D6794E")]
[InterfaceTypeAttribute()]
public interface class IVsThreadSafeTextView
[<GuidAttribute("FEC3BF2A-7833-4777-AE74-5FFF86D6794E")>]
[<InterfaceTypeAttribute()>]
type IVsThreadSafeTextView =  interface end
public interface IVsThreadSafeTextView

The IVsThreadSafeTextView type exposes the following members.

Methods

  Name Description
Public method ThreadSafeSetCaretPos Sends coordinates to.SetCaretPos.

Top

Remarks

These methods simply post messages to the main thread, which then calls the regular handlers.

See Also

Reference

Microsoft.VisualStudio.TextManager.Interop Namespace