VsTextImageClass Class
Supports text string matching.
Assembly: Microsoft.VisualStudio.TextManager.Interop (in Microsoft.VisualStudio.TextManager.Interop.dll)
| Name | Description | |
|---|---|---|
![]() | VsTextImageClass() | Creates a new instance of the class. |
| Name | Description | |
|---|---|---|
![]() | AdviseTextImageEvents(IVsTextImageEvents, UInt32) | Registers the environment to receive notification of text image changes. |
![]() | Equals(Object) | (Inherited from Object.) |
![]() | Finalize() | (Inherited from Object.) |
![]() | GetCharSize(Int32) | Returns the number of characters in the text image. |
![]() | GetHashCode() | (Inherited from Object.) |
![]() | GetLine(UInt32, Int32, Int32, Int32, LINEDATAEX[]) | Provides direct, line-oriented access to the text buffer. |
![]() | GetLineLength(Int32, Int32) | Returns the length of a line. |
![]() | GetLineSize(Int32) | Returns the number of lines in the text image. |
![]() | GetOffsetOfTextAddress(TextAddress, Int32) | Return the buffer address of a given text address. |
![]() | GetSpanLength(TextSpan[], Int32) | Returns the number of characters in a text span. |
![]() | GetText(TextSpan[], Int32, UInt16[]) | Returns the text of a text span. |
![]() | GetTextAddressOfOffset(Int32, TextAddress[]) | Returns the text address of a given buffer address. |
![]() | GetTextBSTR(TextSpan[], String) | Returns the text of a text span as a BSTR |
![]() | GetType() | (Inherited from Object.) |
![]() | LockImage(UInt32) | Notifies that the text image is in use. |
![]() | MemberwiseClone() | (Inherited from Object.) |
![]() | ReleaseLine(LINEDATAEX[]) | Releases the LINEDATAEX structure. |
![]() | Replace(UInt32, TextSpan[], Int32, String, TextSpan[]) | Notification of a text span replacement. |
![]() | ToString() | (Inherited from Object.) |
![]() | UnadviseTextImageEvents(UInt32) | Cancels the environment's registration to receive notifications of text image changes. |
![]() | UnlockImage(UInt32) | Notifies that the text image is not in use. |
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.
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

