IVsTextImage Interface
Supports text string matching.
Namespace: Microsoft.VisualStudio.TextManager.Interop
Assembly: Microsoft.VisualStudio.TextManager.Interop (in Microsoft.VisualStudio.TextManager.Interop.dll)
Syntax
声明
<GuidAttribute("67068DC0-C069-11D2-936C-D714766E8B50")> _
<InterfaceTypeAttribute()> _
Public Interface IVsTextImage
[GuidAttribute("67068DC0-C069-11D2-936C-D714766E8B50")]
[InterfaceTypeAttribute()]
public interface IVsTextImage
[GuidAttribute(L"67068DC0-C069-11D2-936C-D714766E8B50")]
[InterfaceTypeAttribute()]
public interface class IVsTextImage
[<GuidAttribute("67068DC0-C069-11D2-936C-D714766E8B50")>]
[<InterfaceTypeAttribute()>]
type IVsTextImage = interface end
public interface IVsTextImage
The IVsTextImage type exposes the following members.
Methods
Name | Description | |
---|---|---|
AdviseTextImageEvents | Registers the environment to receive notification of text image changes. | |
GetCharSize | Returns the number of characters in the text image. | |
GetLine | Provides direct, line-oriented access to the text buffer. | |
GetLineLength | Return the length of a line. | |
GetLineSize | Returns the number of lines in the text image. | |
GetOffsetOfTextAddress | Return the buffer address of a given text address. | |
GetSpanLength | Return the number of characters in a text span. | |
GetText | Return the text of a text span. | |
GetTextAddressOfOffset | Return the text address of a given buffer address. | |
GetTextBSTR | Return the text of a text span as a BSTR | |
LockImage | Notifies that the text image is in use. | |
ReleaseLine | Releases the LINEDATAEX structure. | |
Replace | Notification of a text span replacement. | |
UnadviseTextImageEvents | Cancels the environment's registration to receive notifications of text image changes. | |
UnlockImage | Notifies that the text image is not in use. |
Top
Remarks
Notes to Implementers
Implement this interface to support find and replace in a text image.