Freigeben über


VsTextBuffer Interface

Definition

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.

public interface class VsTextBuffer : Microsoft::VisualStudio::TextManager::Interop::IVsTextBuffer
public interface class VsTextBuffer : Microsoft::VisualStudio::TextManager::Interop::IVsTextBuffer
__interface VsTextBuffer : Microsoft::VisualStudio::TextManager::Interop::IVsTextBuffer
[System.Runtime.InteropServices.CoClass(typeof(Microsoft.VisualStudio.TextManager.Interop.VsTextBufferClass))]
[System.Runtime.InteropServices.Guid("C08E5275-0D26-4DE9-8892-994024C23750")]
public interface VsTextBuffer : Microsoft.VisualStudio.TextManager.Interop.IVsTextBuffer
[System.Runtime.InteropServices.CoClass(typeof(Microsoft.VisualStudio.TextManager.Interop.VsTextBufferClass))]
[System.Runtime.InteropServices.Guid("C08E5275-0D26-4DE9-8892-994024C23750")]
[System.Runtime.InteropServices.ComVisible(false)]
public interface VsTextBuffer : Microsoft.VisualStudio.TextManager.Interop.IVsTextBuffer
[<System.Runtime.InteropServices.CoClass(typeof(Microsoft.VisualStudio.TextManager.Interop.VsTextBufferClass))>]
[<System.Runtime.InteropServices.Guid("C08E5275-0D26-4DE9-8892-994024C23750")>]
type VsTextBuffer = interface
    interface IVsTextBuffer
[<System.Runtime.InteropServices.CoClass(typeof(Microsoft.VisualStudio.TextManager.Interop.VsTextBufferClass))>]
[<System.Runtime.InteropServices.Guid("C08E5275-0D26-4DE9-8892-994024C23750")>]
[<System.Runtime.InteropServices.ComVisible(false)>]
type VsTextBuffer = interface
    interface IVsTextBuffer
Public Interface VsTextBuffer
Implements IVsTextBuffer
Derived
Attributes
Implements

Methods

GetLanguageServiceID(Guid)

Returns the unique identifier of the language that is providing colorization and other attribute data to this buffer.

(Inherited from IVsTextBuffer)
GetLastLineIndex(Int32, Int32)

Returns the last line in the text buffer.

(Inherited from IVsTextBuffer)
GetLengthOfLine(Int32, Int32)

Returns the length of a line in the buffer.

(Inherited from IVsTextBuffer)
GetLineCount(Int32)

Returns the number of lines in the buffer.

(Inherited from IVsTextBuffer)
GetLineIndexOfPosition(Int32, Int32, Int32)

Returns the line and column numbers in the text buffer, given a position number.

(Inherited from IVsTextBuffer)
GetPositionOfLine(Int32, Int32)

Returns the position number of a line.

(Inherited from IVsTextBuffer)
GetPositionOfLineIndex(Int32, Int32, Int32)

Returns the position number in the text buffer, given a line and column number.

(Inherited from IVsTextBuffer)
GetSize(Int32)

Returns the size in characters of the buffer.

(Inherited from IVsTextBuffer)
GetStateFlags(UInt32)

Returns the state flags of the text buffer.

(Inherited from IVsTextBuffer)
GetUndoManager(IOleUndoManager)

Returns the undo manager for this buffer.

(Inherited from IVsTextBuffer)
InitializeContent(String, Int32)

Initializes the content of the text buffer.

(Inherited from IVsTextBuffer)
LockBuffer()

Has no effect. Deprecated.

(Inherited from IVsTextBuffer)
LockBufferEx(UInt32)

Has no effect. Deprecated.

(Inherited from IVsTextBuffer)
Reload(Int32)

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(Guid)

Sets the unique identifier of the language that is providing colorization and other attribute data to the buffer.

(Inherited from IVsTextBuffer)
SetStateFlags(UInt32)

Sets the state flags of the text buffer.

(Inherited from IVsTextBuffer)
UnlockBuffer()

Has no effect. Deprecated.

(Inherited from IVsTextBuffer)
UnlockBufferEx(UInt32)

Has no effect. Deprecated.

(Inherited from IVsTextBuffer)

Applies to