IVsTextStorage Interface
Represents the range of text that is viewable and editable by text editor views.
Namespace: Microsoft.VisualStudio.TextManager.Interop
Assembly: Microsoft.VisualStudio.TextManager.Interop (in Microsoft.VisualStudio.TextManager.Interop.dll)
Syntax
声明
<GuidAttribute("1ABAC269-8FB0-438E-8217-230AC6EB5766")> _
<InterfaceTypeAttribute()> _
Public Interface IVsTextStorage
[GuidAttribute("1ABAC269-8FB0-438E-8217-230AC6EB5766")]
[InterfaceTypeAttribute()]
public interface IVsTextStorage
[GuidAttribute(L"1ABAC269-8FB0-438E-8217-230AC6EB5766")]
[InterfaceTypeAttribute()]
public interface class IVsTextStorage
[<GuidAttribute("1ABAC269-8FB0-438E-8217-230AC6EB5766")>]
[<InterfaceTypeAttribute()>]
type IVsTextStorage = interface end
public interface IVsTextStorage
The IVsTextStorage type exposes the following members.
Methods
Name | Description | |
---|---|---|
Storage_Attach | Attaches a text buffer. | |
Storage_CopyText | Copy the specified text. | |
Storage_Detach | Detach the storage buffer. | |
Storage_Find | Find the specified text in the indicated span. | |
Storage_GetCharsInSpan | Gets the number of characters in the specified span. | |
Storage_GetLanguageServiceID | Gets the GUID of the language service. | |
Storage_GetLength | Gets the length of the storage. | |
Storage_GetLengthOfLine | Gets the length of the specified line. | |
Storage_GetLineCount | Gets the storage line count. | |
Storage_GetLineDataEx | Gets the line data. | |
Storage_GetLineIndexOfPosition | Gets the line index of a position in the storage. | |
Storage_GetPositionOfLineIndex | Gets the position in the storage of the specified line index. | |
Storage_RefreshColorization | Refresh the colorization of the specified set of lines. | |
Storage_ReleaseLineDataEx | Releases previously obtained line data. | |
Storage_Replace | Replace/change the text. | |
Storage_SetLanguageServiceID | Sets the language service for the storage. |
Top
Remarks
IVsTextStorage is required for all storage objects.