Bagikan melalui


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

'Declaration
<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
Public method Storage_Attach
Public method Storage_CopyText
Public method Storage_Detach
Public method Storage_Find
Public method Storage_GetCharsInSpan
Public method Storage_GetLanguageServiceID
Public method Storage_GetLength
Public method Storage_GetLengthOfLine
Public method Storage_GetLineCount
Public method Storage_GetLineDataEx
Public method Storage_GetLineIndexOfPosition
Public method Storage_GetPositionOfLineIndex
Public method Storage_RefreshColorization
Public method Storage_ReleaseLineDataEx
Public method Storage_Replace
Public method Storage_SetLanguageServiceID

Top

Remarks

IVsTextStorage is required for all storage objects.

See Also

Reference

Microsoft.VisualStudio.TextManager.Interop Namespace

IVsTextStorage2