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)
Syntax
'Declaración
<GuidAttribute("C08E5275-0D26-4DE9-8892-994024C23750")> _
Public Interface VsTextBuffer _
Inherits IVsTextBuffer
[GuidAttribute("C08E5275-0D26-4DE9-8892-994024C23750")]
public interface VsTextBuffer : IVsTextBuffer
[GuidAttribute(L"C08E5275-0D26-4DE9-8892-994024C23750")]
public interface class VsTextBuffer : IVsTextBuffer
[<GuidAttribute("C08E5275-0D26-4DE9-8892-994024C23750")>]
type VsTextBuffer =
interface
interface IVsTextBuffer
end
public interface VsTextBuffer extends IVsTextBuffer
The VsTextBuffer type exposes the following members.
Methods
Name | Description | |
---|---|---|
GetLanguageServiceID | Returns the unique identifier of the language that is providing colorization and other attribute data to this buffer. (Inherited from IVsTextBuffer.) | |
GetLastLineIndex | Returns the last line in the text buffer. (Inherited from IVsTextBuffer.) | |
GetLengthOfLine | Returns the length of a line in the buffer. (Inherited from IVsTextBuffer.) | |
GetLineCount | Returns the number of lines in the buffer. (Inherited from IVsTextBuffer.) | |
GetLineIndexOfPosition | Returns the line and column numbers in the text buffer, given a position number. (Inherited from IVsTextBuffer.) | |
GetPositionOfLine | Returns the position number of a line. (Inherited from IVsTextBuffer.) | |
GetPositionOfLineIndex | Returns the position number in the text buffer, given a line and column number. (Inherited from IVsTextBuffer.) | |
GetSize | Returns the size in characters of the buffer. (Inherited from IVsTextBuffer.) | |
GetStateFlags | Returns the state flags of the text buffer. (Inherited from IVsTextBuffer.) | |
GetUndoManager | Returns the undo manager for this buffer. (Inherited from IVsTextBuffer.) | |
InitializeContent | Initializes the content of the text buffer. (Inherited from IVsTextBuffer.) | |
LockBuffer | Has no effect. Deprecated. (Inherited from IVsTextBuffer.) | |
LockBufferEx | Has no effect. Deprecated. (Inherited from IVsTextBuffer.) | |
Reload | Reloads the text buffer. (Inherited from IVsTextBuffer.) | |
Reserved1 | Reserved in the Vtable for future use. (Inherited from IVsTextBuffer.) | |
Reserved10 | Reserved in the Vtable for future use. (Inherited from IVsTextBuffer.) | |
Reserved2 | Reserved in the Vtable for future use. (Inherited from IVsTextBuffer.) | |
Reserved3 | Reserved in the Vtable for future use. (Inherited from IVsTextBuffer.) | |
Reserved4 | Reserved in the Vtable for future use. (Inherited from IVsTextBuffer.) | |
Reserved5 | Reserved in the Vtable for future use. (Inherited from IVsTextBuffer.) | |
Reserved6 | Reserved in the Vtable for future use. (Inherited from IVsTextBuffer.) | |
Reserved7 | Reserved in the Vtable for future use. (Inherited from IVsTextBuffer.) | |
Reserved8 | Reserved in the Vtable for future use. (Inherited from IVsTextBuffer.) | |
Reserved9 | Reserved in the Vtable for future use. (Inherited from IVsTextBuffer.) | |
SetLanguageServiceID | Sets the unique identifier of the language that is providing colorization and other attribute data to the buffer. (Inherited from IVsTextBuffer.) | |
SetStateFlags | Sets the state flags of the text buffer. (Inherited from IVsTextBuffer.) | |
UnlockBuffer | Has no effect. Deprecated. (Inherited from IVsTextBuffer.) | |
UnlockBufferEx | Has no effect. Deprecated. (Inherited from IVsTextBuffer.) |
Top