共用方式為


VsTextLineStorage Interface

Definition

Represents the image that is persisted and unpersisted. Represents the range of text that is viewable and editable by text editor views. See IVsPersistentTextImage and IVsTextStorage.

public interface class VsTextLineStorage : Microsoft::VisualStudio::TextManager::Interop::IVsTextStorage
public interface class VsTextLineStorage : Microsoft::VisualStudio::TextManager::Interop::IVsTextStorage
__interface VsTextLineStorage : Microsoft::VisualStudio::TextManager::Interop::IVsTextStorage
[System.Runtime.InteropServices.CoClass(typeof(Microsoft.VisualStudio.TextManager.Interop.VsTextLineStorageClass))]
[System.Runtime.InteropServices.Guid("1ABAC269-8FB0-438E-8217-230AC6EB5766")]
public interface VsTextLineStorage : Microsoft.VisualStudio.TextManager.Interop.IVsTextStorage
[System.Runtime.InteropServices.CoClass(typeof(Microsoft.VisualStudio.TextManager.Interop.VsTextLineStorageClass))]
[System.Runtime.InteropServices.Guid("1ABAC269-8FB0-438E-8217-230AC6EB5766")]
[System.Runtime.InteropServices.ComVisible(false)]
public interface VsTextLineStorage : Microsoft.VisualStudio.TextManager.Interop.IVsTextStorage
[<System.Runtime.InteropServices.CoClass(typeof(Microsoft.VisualStudio.TextManager.Interop.VsTextLineStorageClass))>]
[<System.Runtime.InteropServices.Guid("1ABAC269-8FB0-438E-8217-230AC6EB5766")>]
type VsTextLineStorage = interface
    interface IVsTextStorage
[<System.Runtime.InteropServices.CoClass(typeof(Microsoft.VisualStudio.TextManager.Interop.VsTextLineStorageClass))>]
[<System.Runtime.InteropServices.Guid("1ABAC269-8FB0-438E-8217-230AC6EB5766")>]
[<System.Runtime.InteropServices.ComVisible(false)>]
type VsTextLineStorage = interface
    interface IVsTextStorage
Public Interface VsTextLineStorage
Implements IVsTextStorage
Derived
Attributes
Implements

Methods

Storage_Attach(Object)

Attaches a text buffer.

(Inherited from IVsTextStorage)
Storage_CopyText(Int32, Int32, Int32, IntPtr, Int32)

Copy the specified text.

(Inherited from IVsTextStorage)
Storage_Detach()

Detach the storage buffer.

(Inherited from IVsTextStorage)
Storage_Find(String, Int32, Int32, Int32, Int32, Int32, Int32, Int32)

Find the specified text in the indicated span.

(Inherited from IVsTextStorage)
Storage_GetCharsInSpan(TextSpan[], Int32)

Gets the number of characters in the specified span.

(Inherited from IVsTextStorage)
Storage_GetLanguageServiceID(Guid)

Gets the GUID of the language service.

(Inherited from IVsTextStorage)
Storage_GetLength()

Gets the length of the storage.

(Inherited from IVsTextStorage)
Storage_GetLengthOfLine(Int32, Int32)

Gets the length of the specified line.

(Inherited from IVsTextStorage)
Storage_GetLineCount()

Gets the storage line count.

(Inherited from IVsTextStorage)
Storage_GetLineDataEx(UInt32, Int32, Int32, Int32, LINEDATAEX[])

Gets the line data.

(Inherited from IVsTextStorage)
Storage_GetLineIndexOfPosition(Int32, Int32, Int32)

Gets the line index of a position in the storage.

(Inherited from IVsTextStorage)
Storage_GetPositionOfLineIndex(Int32, Int32, Int32)

Gets the position in the storage of the specified line index.

(Inherited from IVsTextStorage)
Storage_RefreshColorization(Int32, Int32, Int32)

Refresh the colorization of the specified set of lines.

(Inherited from IVsTextStorage)
Storage_ReleaseLineDataEx(LINEDATAEX[])

Releases previously obtained line data.

(Inherited from IVsTextStorage)
Storage_Replace(ChangeInput[], TextSpan[])

Replace/change the text.

(Inherited from IVsTextStorage)
Storage_SetLanguageServiceID(Guid)

Sets the language service for the storage.

(Inherited from IVsTextStorage)

Applies to