次の方法で共有


VsTextLineStorageClass Class

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

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

Syntax

'宣言
<GuidAttribute("D6513A91-ACC8-11D2-8919-0000F87579D2")> _
<ClassInterfaceAttribute()> _
Public Class VsTextLineStorageClass _
    Implements IVsTextStorage, VsTextLineStorage, IVsPersistentTextImage
'使用
Dim instance As VsTextLineStorageClass
[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

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.

Inheritance Hierarchy

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

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

VsTextLineStorageClass Members

Microsoft.VisualStudio.TextManager.Interop Namespace