VsTextLineStorageClass Class
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.
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
'Declaração
<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 | |
---|---|---|
VsTextLineStorageClass | Creates a new instance of the class. |
Top
Methods
Name | Description | |
---|---|---|
Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
Image_Alloc | Allocates space of specified size for persistent disk image storage. | |
Image_CloseFullTextScan | Closes the full text scan of the image. | |
Image_Free | Frees space used by the persistent disk image. | |
Image_FullTextRead | Reads the full text image. | |
Image_GetLength | Gets the length of the text image. | |
Image_LoadText | Loads the specified text image. | |
Image_OpenFullTextScan | Open a full scan of the text image. | |
Image_Realloc | Reallocates space for the specified text image. | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
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. Flags indicating search options. | |
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 line index of a position in the storage. | |
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. | |
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.