VsTextImageClass Class
Supports text string matching.
Inheritance Hierarchy
System.Object
Microsoft.VisualStudio.TextManager.Interop.VsTextImageClass
Namespace: Microsoft.VisualStudio.TextManager.Interop
Assembly: Microsoft.VisualStudio.TextManager.Interop (in Microsoft.VisualStudio.TextManager.Interop.dll)
Syntax
‘선언
<GuidAttribute("66B88230-2363-4992-B740-B0450A6F51CA")> _
<ClassInterfaceAttribute()> _
Public Class VsTextImageClass _
Implements IVsTextImage, VsTextImage
[GuidAttribute("66B88230-2363-4992-B740-B0450A6F51CA")]
[ClassInterfaceAttribute()]
public class VsTextImageClass : IVsTextImage,
VsTextImage
[GuidAttribute(L"66B88230-2363-4992-B740-B0450A6F51CA")]
[ClassInterfaceAttribute()]
public ref class VsTextImageClass : IVsTextImage,
VsTextImage
[<GuidAttribute("66B88230-2363-4992-B740-B0450A6F51CA")>]
[<ClassInterfaceAttribute()>]
type VsTextImageClass =
class
interface IVsTextImage
interface VsTextImage
end
public class VsTextImageClass implements IVsTextImage, VsTextImage
The VsTextImageClass type exposes the following members.
Constructors
Name | Description | |
---|---|---|
VsTextImageClass | Creates a new instance of the class. |
Top
Methods
Name | Description | |
---|---|---|
AdviseTextImageEvents | Registers the environment to receive notification of text image changes. | |
Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetCharSize | Returns the number of characters in the text image. | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetLine | Provides direct, line-oriented access to the text buffer. | |
GetLineLength | Returns 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 | Returns the number of characters in a text span. | |
GetText | Returns the text of a text span. | |
GetTextAddressOfOffset | Returns the text address of a given buffer address. | |
GetTextBSTR | Returns the text of a text span as a BSTR | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
LockImage | Notifies that the text image is in use. | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ReleaseLine | Releases the LINEDATAEX structure. | |
Replace | Notification of a text span replacement. | |
ToString | Returns a string that represents the current object. (Inherited from Object.) | |
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
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.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.