Share via


VsTextViewClass Class

Manages the text view of an editor window. Contains methods to manage the text view. The view is essentially the editor window shown in the UI.

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

Syntax

'Declaration
<ClassInterfaceAttribute()> _
<GuidAttribute("F5E7E71E-1401-11D1-883B-0000F87579D2")> _
Public Class VsTextViewClass _
    Implements IVsTextView, VsTextView
'Usage
Dim instance As VsTextViewClass
[ClassInterfaceAttribute()]
[GuidAttribute("F5E7E71E-1401-11D1-883B-0000F87579D2")]
public class VsTextViewClass : IVsTextView, 
    VsTextView
[ClassInterfaceAttribute()]
[GuidAttribute(L"F5E7E71E-1401-11D1-883B-0000F87579D2")]
public ref class VsTextViewClass : IVsTextView, 
    VsTextView
public class VsTextViewClass implements IVsTextView, VsTextView

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.VsTextViewClass

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.

See Also

Reference

VsTextViewClass Members

Microsoft.VisualStudio.TextManager.Interop Namespace