VsTextManagerClass Class
Provides general services for anyone wanting information about the active text views.
Namespace: Microsoft.VisualStudio.TextManager.Interop
Assembly: Microsoft.VisualStudio.TextManager.Interop (in Microsoft.VisualStudio.TextManager.Interop.dll)
Syntax
声明
<ClassInterfaceAttribute()> _
<GuidAttribute("F5E7E71D-1401-11D1-883B-0000F87579D2")> _
Public Class VsTextManagerClass _
Implements IVsTextManager, VsTextManager
用法
Dim instance As VsTextManagerClass
[ClassInterfaceAttribute()]
[GuidAttribute("F5E7E71D-1401-11D1-883B-0000F87579D2")]
public class VsTextManagerClass : IVsTextManager,
VsTextManager
[ClassInterfaceAttribute()]
[GuidAttribute(L"F5E7E71D-1401-11D1-883B-0000F87579D2")]
public ref class VsTextManagerClass : IVsTextManager,
VsTextManager
[<ClassInterfaceAttribute()>]
[<GuidAttribute("F5E7E71D-1401-11D1-883B-0000F87579D2")>]
type VsTextManagerClass =
class
interface IVsTextManager
interface VsTextManager
end
public class VsTextManagerClass implements IVsTextManager, VsTextManager
Remarks
You cannot create an instance of this class with the new keyword. Instead, you must get the ILocalRegistry object and create the object with CreateInstance. The MPF wraps this method with CreateInstance.
Inheritance Hierarchy
System.Object
Microsoft.VisualStudio.TextManager.Interop.VsTextManagerClass
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.