This topic has not yet been rated - Rate this topic

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.

Object
  Microsoft.VisualStudio.TextManager.Interop.VsTextLineStorageClass

Namespace:  Microsoft.VisualStudio.TextManager.Interop
Assembly:  Microsoft.VisualStudio.TextManager.Interop (in Microsoft.VisualStudio.TextManager.Interop.dll)
[GuidAttribute("D6513A91-ACC8-11D2-8919-0000F87579D2")]
[ClassInterfaceAttribute()]
public class VsTextLineStorageClass : IVsTextStorage, 
	VsTextLineStorage, IVsPersistentTextImage

The VsTextLineStorageClass type exposes the following members.

  NameDescription
Public methodVsTextLineStorageClassCreates a new instance of the class.
Top
  NameDescription
Public methodEqualsDetermines whether the specified object is equal to the current object. (Inherited from Object.)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public methodGetHashCodeServes as a hash function for a particular type. (Inherited from Object.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Public methodImage_AllocAllocates space of specified size for persistent disk image storage.
Public methodImage_CloseFullTextScanCloses the full text scan of the image.
Public methodImage_FreeFrees space used by the persistent disk image.
Public methodImage_FullTextReadReads the full text image.
Public methodImage_GetLengthGets the length of the text image.
Public methodImage_LoadTextLoads the specified text image.
Public methodImage_OpenFullTextScanOpen a full scan of the text image.
Public methodImage_ReallocReallocates space for the specified text image.
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodStorage_AttachAttaches a text buffer.
Public methodStorage_CopyTextCopy the specified text.
Public methodStorage_DetachDetach the storage buffer.
Public methodStorage_FindFind the specified text in the indicated span. Flags indicating search options.
Public methodStorage_GetCharsInSpanGets the number of characters in the specified span.
Public methodStorage_GetLanguageServiceIDGets the GUID of the language service.
Public methodStorage_GetLengthGets the length of the storage.
Public methodStorage_GetLengthOfLineGets the length of the specified line.
Public methodStorage_GetLineCountGets the storage line count.
Public methodStorage_GetLineDataExGets the line data.
Public methodStorage_GetLineIndexOfPositionGets the line index of a position in the storage.
Public methodStorage_GetPositionOfLineIndexGets the line index of a position in the storage.
Public methodStorage_RefreshColorizationRefresh the colorization of the specified set of lines.
Public methodStorage_ReleaseLineDataExReleases previously obtained line data.
Public methodStorage_ReplaceReplace/change the text.
Public methodStorage_SetLanguageServiceIDSets the language service for the storage.
Public methodToStringReturns a string that represents the current object. (Inherited from Object.)
Top

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.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.