VsTextLineStorageClass 类
表示持久并 unpersisted 的图像。 由文本编辑器视图可见和可编辑的文本范围。
继承层次结构
Object
Microsoft.VisualStudio.TextManager.Interop.VsTextLineStorageClass
命名空间: Microsoft.VisualStudio.TextManager.Interop
程序集: Microsoft.VisualStudio.TextManager.Interop(在 Microsoft.VisualStudio.TextManager.Interop.dll 中)
语法
声明
<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
VsTextLineStorageClass 类型公开以下成员。
构造函数
名称 | 说明 | |
---|---|---|
VsTextLineStorageClass |
页首
方法
名称 | 说明 | |
---|---|---|
Equals | 确定指定的对象是否等于当前对象。 (继承自 Object。) | |
Finalize | 在垃圾回收将某一对象回收前允许该对象尝试释放资源并执行其他清理操作。 (继承自 Object。) | |
GetHashCode | 作为默认哈希函数。 (继承自 Object。) | |
GetType | 获取当前实例的 Type。 (继承自 Object。) | |
Image_Alloc | ||
Image_CloseFullTextScan | ||
Image_Free | ||
Image_FullTextRead | ||
Image_GetLength | ||
Image_LoadText | ||
Image_OpenFullTextScan | ||
Image_Realloc | ||
MemberwiseClone | 创建当前 Object 的浅表副本。 (继承自 Object。) | |
Storage_Attach | ||
Storage_CopyText | ||
Storage_Detach | ||
Storage_Find | ||
Storage_GetCharsInSpan | ||
Storage_GetLanguageServiceID | ||
Storage_GetLength | ||
Storage_GetLengthOfLine | ||
Storage_GetLineCount | ||
Storage_GetLineDataEx | ||
Storage_GetLineIndexOfPosition | ||
Storage_GetPositionOfLineIndex | ||
Storage_RefreshColorization | ||
Storage_ReleaseLineDataEx | ||
Storage_Replace | ||
Storage_SetLanguageServiceID | ||
ToString | 返回表示当前对象的字符串。 (继承自 Object。) |
页首
备注
您不能使用 new 关键字创建此类的实例。 相反,您必须获取 ILocalRegistry 对象并用 CreateInstance创建对象。 MPF 将使用 CreateInstance的此方法。
线程安全
此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。但不保证所有实例成员都是线程安全的。