Compartilhar via


IVsTextImage Interface

Supports text string matching.

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

Syntax

'Declaration
<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
Public method AdviseTextImageEvents Registers the environment to receive notification of text image changes.
Public method GetCharSize Returns the number of characters in the text image.
Public method GetLine Provides direct, line-oriented access to the text buffer.
Public method GetLineLength Return the length of a line.
Public method GetLineSize Returns the number of lines in the text image.
Public method GetOffsetOfTextAddress Return the buffer address of a given text address.
Public method GetSpanLength Return the number of characters in a text span.
Public method GetText Return the text of a text span.
Public method GetTextAddressOfOffset Return the text address of a given buffer address.
Public method GetTextBSTR Return the text of a text span as a BSTR
Public method LockImage Notifies that the text image is in use.
Public method ReleaseLine Releases the LINEDATAEX structure.
Public method Replace Notification of a text span replacement.
Public method UnadviseTextImageEvents Cancels the environment's registration to receive notifications of text image changes.
Public method 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.

See Also

Reference

Microsoft.VisualStudio.TextManager.Interop Namespace

IVsTextImage2