Поделиться через


VsTextBufferClass Class

Acts as the base interface for the VsTextBuffer object and provides general information about the text buffer's properties. Provides read and write access to the text buffer using two-dimensional coordinates.

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

Syntax

'Декларация
<ClassInterfaceAttribute()> _
<GuidAttribute("8E7B96A8-E33D-11D0-A6D5-00C04FB67F6A")> _
Public Class VsTextBufferClass _
    Implements IVsTextBuffer, VsTextBuffer, IVsTextLines
'Применение
Dim instance As VsTextBufferClass
[ClassInterfaceAttribute()]
[GuidAttribute("8E7B96A8-E33D-11D0-A6D5-00C04FB67F6A")]
public class VsTextBufferClass : IVsTextBuffer, 
    VsTextBuffer, IVsTextLines
[ClassInterfaceAttribute()]
[GuidAttribute(L"8E7B96A8-E33D-11D0-A6D5-00C04FB67F6A")]
public ref class VsTextBufferClass : IVsTextBuffer, 
    VsTextBuffer, IVsTextLines
[<ClassInterfaceAttribute()>]
[<GuidAttribute("8E7B96A8-E33D-11D0-A6D5-00C04FB67F6A")>]
type VsTextBufferClass =  
    class
        interface IVsTextBuffer
        interface VsTextBuffer
        interface IVsTextLines
    end
public class VsTextBufferClass implements IVsTextBuffer, VsTextBuffer, IVsTextLines

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

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

VsTextBufferClass Members

Microsoft.VisualStudio.TextManager.Interop Namespace