Поделиться через


VsTextLineStorageClass Class

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

Inheritance Hierarchy

System.Object
  Microsoft.VisualStudio.TextManager.Interop.VsTextLineStorageClass

Namespace:  Microsoft.VisualStudio.TextManager.Interop
Assembly:  Microsoft.VisualStudio.TextManager.Interop (in Microsoft.VisualStudio.TextManager.Interop.dll)

Syntax

'Declaration
<GuidAttribute("D6513A91-ACC8-11D2-8919-0000F87579D2")> _
<ClassInterfaceAttribute()> _
Public Class VsTextLineStorageClass _
    Implements IVsTextStorage, VsTextLineStorage, IVsPersistentTextImage
[GuidAttribute("D6513A91-ACC8-11D2-8919-0000F87579D2")]
[ClassInterfaceAttribute()]
public class VsTextLineStorageClass : IVsTextStorage, 
    VsTextLineStorage, IVsPersistentTextImage
[GuidAttribute(L"D6513A91-ACC8-11D2-8919-0000F87579D2")]
[ClassInterfaceAttribute()]
public ref class VsTextLineStorageClass : IVsTextStorage, 
    VsTextLineStorage, IVsPersistentTextImage
[<GuidAttribute("D6513A91-ACC8-11D2-8919-0000F87579D2")>]
[<ClassInterfaceAttribute()>]
type VsTextLineStorageClass =  
    class
        interface IVsTextStorage
        interface VsTextLineStorage
        interface IVsPersistentTextImage
    end
public class VsTextLineStorageClass implements IVsTextStorage, VsTextLineStorage, IVsPersistentTextImage

The VsTextLineStorageClass type exposes the following members.

Constructors

  Name Description
Public method VsTextLineStorageClass

Top

Methods

  Name Description
Public method Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method Image_Alloc
Public method Image_CloseFullTextScan
Public method Image_Free
Public method Image_FullTextRead
Public method Image_GetLength
Public method Image_LoadText
Public method Image_OpenFullTextScan
Public method Image_Realloc
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
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
Public method ToString Returns a string that represents the current object. (Inherited from Object.)

Top

Remarks

You cannot create an instance of this class with the new keyword. Instead, you must get the ILocalRegistry object and create the object with CreateInstance. The MPF wraps this method with CreateInstance.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.VisualStudio.TextManager.Interop Namespace