IVsThreadSafeTextView 接口
这是 IVsTextView的一个线程安全的子集。
命名空间: Microsoft.VisualStudio.TextManager.Interop
程序集: Microsoft.VisualStudio.TextManager.Interop(在 Microsoft.VisualStudio.TextManager.Interop.dll 中)
语法
声明
<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
IVsThreadSafeTextView 类型公开以下成员。
方法
名称 | 说明 | |
---|---|---|
ThreadSafeSetCaretPos | 发送坐标。SetCaretPos。 |
页首
备注
这些方法将消息发送到主线程,然后调用一般处理程序。