VsTextLineStorageClass 類別

定義

表示保存和非持續性的影像。Represents the image that is persisted and unpersisted. 代表文字編輯器視圖可看到和編輯的文字範圍。Represents the range of text that is viewable and editable by text editor views. 請參閱 IVsPersistentTextImageIVsTextStorageSee IVsPersistentTextImage and IVsTextStorage.

public ref class VsTextLineStorageClass : Microsoft::VisualStudio::TextManager::Interop::IVsPersistentTextImage, Microsoft::VisualStudio::TextManager::Interop::VsTextLineStorage
[Windows::Foundation::Metadata::WebHostHidden]
class VsTextLineStorageClass : Microsoft::VisualStudio::TextManager::Interop::IVsPersistentTextImage, Microsoft::VisualStudio::TextManager::Interop::VsTextLineStorage
[System.Runtime.InteropServices.ClassInterface(0)]
[System.Runtime.InteropServices.ComConversionLoss]
[System.Runtime.InteropServices.Guid("D6513A91-ACC8-11D2-8919-0000F87579D2")]
[System.Runtime.InteropServices.TypeLibType(2)]
public class VsTextLineStorageClass : Microsoft.VisualStudio.TextManager.Interop.IVsPersistentTextImage, Microsoft.VisualStudio.TextManager.Interop.VsTextLineStorage
[<System.Runtime.InteropServices.ClassInterface(0)>]
[<System.Runtime.InteropServices.ComConversionLoss>]
[<System.Runtime.InteropServices.Guid("D6513A91-ACC8-11D2-8919-0000F87579D2")>]
[<System.Runtime.InteropServices.TypeLibType(2)>]
type VsTextLineStorageClass = class
    interface IVsTextStorage
    interface VsTextLineStorage
    interface IVsPersistentTextImage
Public Class VsTextLineStorageClass
Implements IVsPersistentTextImage, VsTextLineStorage
繼承
VsTextLineStorageClass
屬性
實作

備註

您無法使用關鍵字來建立這個類別的實例 newYou cannot create an instance of this class with the new keyword. 相反地,您必須取得 ILocalRegistry 物件,並使用建立物件 CreateInstanceInstead, you must get the ILocalRegistry object and create the object with CreateInstance. MPF 會包裝此方法 CreateInstanceThe MPF wraps this method with CreateInstance.

建構函式

VsTextLineStorageClass()

建立類別的新執行個體。Creates a new instance of the class.

方法

Image_Alloc(Int32)

為持續性磁片映射儲存體配置指定大小的空間。Allocates space of specified size for persistent disk image storage.

Image_CloseFullTextScan()

關閉影像的完整文字掃描。Closes the full text scan of the image.

Image_Free(IntPtr)

釋出持續性磁片映射所使用的空間。Frees space used by the persistent disk image.

Image_FullTextRead(String, Int32)

讀取完整文字影像。Reads the full text image.

Image_GetLength()

取得文字影像的長度。Gets the length of the text image.

Image_LoadText(String, Int32, UInt32)

載入指定的文字影像。Loads the specified text image.

Image_OpenFullTextScan()

開啟文字影像的完整掃描。Open a full scan of the text image.

Image_Realloc(IntPtr, Int32)

重新配置指定文字影像的空間。Reallocates space for the specified text image.

Storage_Attach(Object)

附加文字緩衝區。Attaches a text buffer.

Storage_CopyText(Int32, Int32, Int32, IntPtr, Int32)

複製指定的文字。Copy the specified text.

Storage_Detach()

卸離儲存體緩衝區。Detach the storage buffer.

Storage_Find(String, Int32, Int32, Int32, Int32, Int32, Int32, Int32)

在指定的範圍內尋找指定的文字。Find the specified text in the indicated span. 指出搜尋選項的旗標。Flags indicating search options.

Storage_GetCharsInSpan(TextSpan[], Int32)

取得指定範圍中的字元數。Gets the number of characters in the specified span.

Storage_GetLanguageServiceID(Guid)

取得語言服務的 GUID。Gets the GUID of the language service.

Storage_GetLength()

取得儲存體的長度。Gets the length of the storage.

Storage_GetLengthOfLine(Int32, Int32)

取得指定行的長度。Gets the length of the specified line.

Storage_GetLineCount()

取得儲存體行計數。Gets the storage line count.

Storage_GetLineDataEx(UInt32, Int32, Int32, Int32, LINEDATAEX[])

取得線條資料。Gets the line data.

Storage_GetLineIndexOfPosition(Int32, Int32, Int32)

取得儲存體中位置的行索引。Gets the line index of a position in the storage.

Storage_GetPositionOfLineIndex(Int32, Int32, Int32)

取得儲存體中位置的行索引。Gets the line index of a position in the storage.

Storage_RefreshColorization(Int32, Int32, Int32)

重新整理指定線條集的顏色標示。Refresh the colorization of the specified set of lines.

Storage_ReleaseLineDataEx(LINEDATAEX[])

發行先前取得的行資料。Releases previously obtained line data.

Storage_Replace(ChangeInput[], TextSpan[])

取代/變更文字。Replace/change the text.

Storage_SetLanguageServiceID(Guid)

設定儲存體的語言服務。Sets the language service for the storage.

適用於