Export (0) Print
Expand All

VsTextBuffer Interface

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)

[GuidAttribute("C08E5275-0D26-4DE9-8892-994024C23750")]
public interface VsTextBuffer : IVsTextBuffer

The VsTextBuffer type exposes the following members.

  NameDescription
Public methodGetLanguageServiceIDReturns the unique identifier of the language that is providing colorization and other attribute data to this buffer. (Inherited from IVsTextBuffer.)
Public methodGetLastLineIndexReturns the last line in the text buffer. (Inherited from IVsTextBuffer.)
Public methodGetLengthOfLineReturns the length of a line in the buffer. (Inherited from IVsTextBuffer.)
Public methodGetLineCountReturns the number of lines in the buffer. (Inherited from IVsTextBuffer.)
Public methodGetLineIndexOfPositionReturns the line and column numbers in the text buffer, given a position number. (Inherited from IVsTextBuffer.)
Public methodGetPositionOfLineReturns the position number of a line. (Inherited from IVsTextBuffer.)
Public methodGetPositionOfLineIndexReturns the position number in the text buffer, given a line and column number. (Inherited from IVsTextBuffer.)
Public methodGetSizeReturns the size in characters of the buffer. (Inherited from IVsTextBuffer.)
Public methodGetStateFlagsReturns the state flags of the text buffer. (Inherited from IVsTextBuffer.)
Public methodGetUndoManagerReturns the undo manager for this buffer. (Inherited from IVsTextBuffer.)
Public methodInitializeContentInitializes the content of the text buffer. (Inherited from IVsTextBuffer.)
Public methodLockBufferHas no effect. Deprecated. (Inherited from IVsTextBuffer.)
Public methodLockBufferExHas no effect. Deprecated. (Inherited from IVsTextBuffer.)
Public methodReloadReloads the text buffer. (Inherited from IVsTextBuffer.)
Public methodReserved1Reserved in the Vtable for future use. (Inherited from IVsTextBuffer.)
Public methodReserved10Reserved in the Vtable for future use. (Inherited from IVsTextBuffer.)
Public methodReserved2Reserved in the Vtable for future use. (Inherited from IVsTextBuffer.)
Public methodReserved3Reserved in the Vtable for future use. (Inherited from IVsTextBuffer.)
Public methodReserved4Reserved in the Vtable for future use. (Inherited from IVsTextBuffer.)
Public methodReserved5Reserved in the Vtable for future use. (Inherited from IVsTextBuffer.)
Public methodReserved6Reserved in the Vtable for future use. (Inherited from IVsTextBuffer.)
Public methodReserved7Reserved in the Vtable for future use. (Inherited from IVsTextBuffer.)
Public methodReserved8Reserved in the Vtable for future use. (Inherited from IVsTextBuffer.)
Public methodReserved9Reserved in the Vtable for future use. (Inherited from IVsTextBuffer.)
Public methodSetLanguageServiceIDSets the unique identifier of the language that is providing colorization and other attribute data to the buffer. (Inherited from IVsTextBuffer.)
Public methodSetStateFlagsSets the state flags of the text buffer. (Inherited from IVsTextBuffer.)
Public methodUnlockBufferHas no effect. Deprecated. (Inherited from IVsTextBuffer.)
Public methodUnlockBufferExHas no effect. Deprecated. (Inherited from IVsTextBuffer.)
Top
Show:
© 2015 Microsoft