VsTextImageClass Class

 

Supports text string matching.

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

System.Object
  Microsoft.VisualStudio.TextManager.Interop.VsTextImageClass

[GuidAttribute("66B88230-2363-4992-B740-B0450A6F51CA")]
[ClassInterfaceAttribute(0)]
public class VsTextImageClass : IVsTextImage, VsTextImage

NameDescription
System_CAPS_pubmethodVsTextImageClass()

Creates a new instance of the class.

NameDescription
System_CAPS_pubmethodAdviseTextImageEvents(IVsTextImageEvents, UInt32)

Registers the environment to receive notification of text image changes.

System_CAPS_pubmethodEquals(Object)

(Inherited from Object.)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodGetCharSize(Int32)

Returns the number of characters in the text image.

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetLine(UInt32, Int32, Int32, Int32, LINEDATAEX[])

Provides direct, line-oriented access to the text buffer.

System_CAPS_pubmethodGetLineLength(Int32, Int32)

Returns the length of a line.

System_CAPS_pubmethodGetLineSize(Int32)

Returns the number of lines in the text image.

System_CAPS_pubmethodGetOffsetOfTextAddress(TextAddress, Int32)

Return the buffer address of a given text address.

System_CAPS_pubmethodGetSpanLength(TextSpan[], Int32)

Returns the number of characters in a text span.

System_CAPS_pubmethodGetText(TextSpan[], Int32, UInt16[])

Returns the text of a text span.

System_CAPS_pubmethodGetTextAddressOfOffset(Int32, TextAddress[])

Returns the text address of a given buffer address.

System_CAPS_pubmethodGetTextBSTR(TextSpan[], String)

Returns the text of a text span as a BSTR

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_pubmethodLockImage(UInt32)

Notifies that the text image is in use.

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethodReleaseLine(LINEDATAEX[])

Releases the LINEDATAEX structure.

System_CAPS_pubmethodReplace(UInt32, TextSpan[], Int32, String, TextSpan[])

Notification of a text span replacement.

System_CAPS_pubmethodToString()

(Inherited from Object.)

System_CAPS_pubmethodUnadviseTextImageEvents(UInt32)

Cancels the environment's registration to receive notifications of text image changes.

System_CAPS_pubmethodUnlockImage(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.

Return to top
Show: