共用方式為


IVsTextImage Members

Include Protected Members
Include Inherited Members

Supports text string matching.

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

See Also

Reference

IVsTextImage Interface

Microsoft.VisualStudio.TextManager.Interop Namespace